hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zoltan Bencik <zoltan.ben...@gmail.com>
Subject Question on max connection limit
Date Sun, 22 Nov 2009 06:55:35 GMT
Dear All,

I've currently set the following parameter during http client 
initialization:
params.setParameter("http.conn-manager.max-total", 5);

Is this correct way to limit the maximum connection number?
Because by analyzing the network stats, I always see that there are only 
2 connections
are used to the remote host all the time.
I just wonder if I understood correctly the tutorial and set proper 
parameter to limit
max. connection number.

Any help is highly appreciated, thanks.

br,
-zoltan.

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