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-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org

Reply via email to