hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florent Georges <li...@fgeorges.org>
Subject Re: Scope of credentials: the request instead of client
Date Tue, 03 Mar 2009 17:47:02 GMT

Oleg Kalnichevski wrote:

> If you are creating a new connection manager for each
> request, this effectively prevents HttpClient from re-using
> persistent connections. Moreover, if you do not shut down
> connection manager after each request, you are leaving it up
> to the garbage collector to close persistent connections and
> deallocate system resources. Thus, open onnections can pile
> up increasing the risk of running out of system resources.

  Very well anticipated :-)  I did not shut the manager down, and got warning messages about
that.  Thanks to your message, I solved the problem.

  Thanks for your help, regards,

-- 
Florent Georges
http://www.fgeorges.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