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: HTTP Async Client and maximum connections per address
Date Fri, 09 Nov 2012 17:22:48 GMT
On Thu, 2012-11-08 at 22:54 -0500, Sachin Nikumbh wrote:
> Hi,
> 
> I am trying the HTTP async client and trying to figure out how to get/set
> the maximum number of connections per address. What is the default that's
> being used? The HTTP specification recommends 2 number of connections per
> address. I could not find the API that would allow me to change this
> parameter.
> 

Have a look at the PoolingClientAsyncConnectionManager

http://hc.apache.org/httpcomponents-asyncclient-dev/httpasyncclient/apidocs/org/apache/http/impl/nio/conn/PoolingClientAsyncConnectionManager.html

hope this helps

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