Hi Oleg!

Thank you for your answer.

How would I do it in HttpClient 4.0?  Could you write a minimal example?

How reliable is HttpClient 4.0 compared to HttpClient 3.1?


Uwe


On Mon, 2008-03-24 at 20:37 +0100, Oleg Kalnichevski wrote:
> 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to