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: Getting the response time for multithreaded client
Date Mon, 24 Mar 2008 19:37:39 GMT

On Thu, 2008-03-20 at 18:19 +0100, Uwe Kubosch wrote:
> Hi all!
> 
> We are using the Commons HttpClient in a multithreaded application, and
> frequently there are more threads trying to use the client than the
> limit set by setMaxConnectionsPerHost.
> 
> In this situation we still need to log the response time from the
> server.  How can we do that?  Measuring the Method.executeMethod call
> includes the time the thread sleeps before actually submitting the
> request.
> 
> We are currently using Commons HttpClient 3.1 which I believe is the
> latest stable release.
> 

Uwe,

There is no way around either upgrading to HttpClient 4.0, which has a
massively better, modular architecture or hacking the source code of
HttpClient 3.x  

Oleg

> Any help is greatly appreciated, even quick fixes and hacks :)
> 
> 
> Uwe
> 
> 
> ---------------------------------------------------------------------
> 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


Mime
View raw message