On 8/29/23 3:48 AM, Oleg Kalnichevski wrote:
This code is not about connection clean-up, this code is about
connection re-use. The resource clean-up is ensured by closing out the
response.
Ok, but then why is EntityUtils.consume(entity) being called at all?
Seems like it's either necessary
On Mon, 2023-08-28 at 16:48 -0400, Brent Putman wrote:
> Hi,
>
> Our project was reviewing a reported resource cleanup issue for
> leaks,
> and we came across a couple of possibly questionable things in the
> way
> things are handled in CloseableHttpClient for the response handler
> variant cod