hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Question about PoolingHttpClientConnectionManager#timeToLive
Date Wed, 09 Mar 2016 12:10:39 GMT
On Wed, 2016-03-09 at 13:07 +0100, Philippe Mouawad wrote:
> Hi Oleg,
> Thanks for clarification.
> Regards
> 
> On Wed, Mar 9, 2016 at 10:40 AM, Oleg Kalnichevski <olegk@apache.org> wrote:
> 
> > On Wed, 2016-03-09 at 08:40 +0100, Philippe Mouawad wrote:
> > > Hello,
> > > I would like a clarification on the
> > > PoolingHttpClientConnectionManager#timeToLive that is used to construct
> > the
> > > PoolingHttpClientConnectionManager.
> > >
> > > In my understanding this value should not exceed the Keep Alive timeout
> > > sent by a server.
> > > Am I right or am I misunderstanding it ?
> > >
> >
> > TTL represent an absolute value. No matter what the connection will not
> > be re-used beyond its TTL. Keep-alive value is relative and gets updated
> > every time connection is re-used.
> >
> 
> Do you want me to open a JIRA  +PR to add this to documentation ?
> 

Sure. Please do so.

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message