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: Keep alive questions
Date Fri, 18 Jun 2010 12:03:46 GMT
On Fri, 2010-06-18 at 13:53 +0200, Joan Balaguero wrote:
> Ok, then my 'getKeepAliveDuration' method should do:
> 
> 1. If the user enters a 'keepAliveDuration' (> 0) --> return this value.
> 2. If the user does not check 'keep-alive', then:
>    2.1. if 'keep-alive' header exists --> return its value.
>    2.2. if not, return Integer.MAX_VALUE.

or -1 to keep connection alive indefinitely

> 
> Is this right?
> 

Seems 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