hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Moore, Jonathan (CIM)" <Jonathan_Mo...@Comcast.com>
Subject Re: troubleshooting a 3rd party app that uses httpclient
Date Mon, 20 Jun 2011 14:14:58 GMT
Ah, unfortunately, MultiThreadedHttpConnectionManager is from HttpClient
3.x, which is currently end-of-life (and I'm not familiar with that
codebase). I'd suggest trying to upgrade to 4.x and using the

Good luck,
Jon Moore
Comcast Interactive Media

On 6/18/11 7:35 PM, "ChadDavis" <chadmichaeldavis@gmail.com> wrote:

>> The default max connections per host is 2 in httpclient, so that's
>> certainly what you're running into (connection pool is too small). In
>> scenario you will want to increase both the max total connections and
>> max connections per route.
>The code I'm looking at uses the MultiThreadedHttpConnectionManager.
>Unlike the ThreadSafeClientConnManager dicussed in your link, this
>connection manager uses a param map for its configuration.  There are
>no setter methods.  This is no problem because I can just get the map
>and change the params myself.  However, I kind of expected that I
>would be able to set some java properties to control this.  But when I
>look into the HttpConnectionManagerParams class, and all of it's class
>hierachy, it's unclear how to best control these parameter values.
>To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>For additional commands, e-mail: httpclient-users-help@hc.apache.org

To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org

View raw message