hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@gmail.com>
Subject Re: Question about PoolingHttpClientConnectionManager#timeToLive
Date Sun, 13 Mar 2016 21:07:15 GMT
Hello,
Done https://issues.apache.org/jira/browse/HTTPCLIENT-1730

Regards

On Wed, Mar 9, 2016 at 1:10 PM, Oleg Kalnichevski <olegk@apache.org> wrote:

> 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
>
>


-- 
Cordialement.
Philippe Mouawad.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message