mirror of
https://github.com/apache/httpcomponents-client.git
synced 2025-02-09 03:25:28 +00:00
e09c5d0691
This fixes an issue in which connections were not returned to the pool when requests contained non-repeatable bodies AND responses were streamed. When both of these criteria were met, responses were returned without ResponseEntityProxy enhancements so that closing the response entity or stream no longer completed the exchange, thus leaking the connection which forever lived in the `leased` state in the connection pool.