hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Derick Fernando <deri...@gmail.com>
Subject Re: ConnManagerPNames.html#TIMEOUT vs. CoreConnectionPNames.html#CONNECTION_TIMEOUT
Date Thu, 29 Mar 2012 03:10:27 GMT
Sorry, there is a typo in the original, it should read:

However the underlying value for

ConnManagerPNames.html#TIMEOUT is "http.conn-man.timeout" where as
CoreConnectionPNames.html#CONNECTION_TIMEOUT corresponds to
"http.connection.timeout".

Thanks

On Wed, Mar 28, 2012 at 3:18 PM, Derick Fernando <derickf@gmail.com> wrote:

> Hello,
>
> I was attempting to set the timeout on a connection manager in HTTP Client
> 4.1.
>
> The constant ConnManagerPNames.html#TIMEOUT is deprecated in favor of
> CoreConnectionPNames.html#CONNECTION_TIMEOUT.
>
> However the underlying value for
> CoreConnectionPNames.html#CONNECTION_TIMEOUT is "http.connection.timeout"
> where as CoreConnectionPNames.html#CONNECTION_TIMEOUT corresponds to
> "http.conn-man.timeout.
>
> I wanted to make sure this is correct and intentional. It makes sense
> logically since the connection timeout means that something will eventually
> be returned to an exhausted pool.
>
> Thanks,
> Derick
>
>
>
>
>
>
>

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