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: connection leak
Date Mon, 30 May 2011 08:23:20 GMT
On Mon, 2011-05-30 at 01:00 -0400, feedly team wrote:
> My application is leaking connections somehow, it runs fine for days
> continually doing requests but then at some point timeout connections start
> to occur continuously. I am using the ThreadSafeClientConnManager to do
> requests. I execute http client to do a head request and to get a response.
> The code is below. Are there any problems with it? 

I see nothing wrong with your code.


> What would be the best
> logging options to enable to debug leaks?

See 'Enable context logging for connection management / request
execution' section

http://hc.apache.org/httpcomponents-client-ga/logging.html

Oleg



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