On Sun, 2015-10-11 at 15:43 -0700, Vic Cekvenich wrote: > Hi, > Looking at > https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/conn/PoolingHttpClientConnectionManager.html > > it seems that > new PoolingHttpClientConnectionManager(1,TimeUnit.MINUTE); > will close connection in that time (to refresh it) > and > setValidateAfterInactivity(1); > will check stale. > > Is this correct?
The former defines total time to live (no matter what connection will be kept alive past its TTL value), the latter forces connection validation after a period of inactivity. Oleg > Or are they both stale checks? > > Vic --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org