Hi,

I'm using httpclient-4.5.5.

I used a single HttpClient instance with PoolingHttpClientConnectionManager.
When the execute() method finished,I called one of the methods 
response.close()/request.releaseConnection()/request.abortConnection() in the 
finally block.

However,no matter which method I called, I found 
ConnectionHolder#releaseConnection(false) would be invoked,and then the 
connection would be closed and discarded by the pool.

So I'm confused about the connection reusing mechanism.How does it work?

Thank you.

Reply via email to