Hello, Did you actually read/consumed everything of the InputStream and is this a HTTP/1.1 service with Keepalive?
Gruss Bernd Gruss Bernd -- http://bernd.eckenfels.net ________________________________ Von: 安 琦 <cy...@live.cn> Gesendet: Dienstag, September 18, 2018 11:32 AM An: httpclient-users@hc.apache.org Betreff: Confused about PoolingHttpClientConnectionManager's mechanism 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. B�KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKCB??[��X�剀�X�KK[XZ[??Y[?]\�\��][��X�剀�X�P��\X?K����B����Y][��[圹[X[??K[XZ[??Y[?]\�\��Z[��\X?K����B�B