Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.3.6
-
None
Description
CloseableHttpClient.execute in line 214 contains:
final HttpResponse response = execute(target, request, context);
The response real type is CloseableHttpResponse so it must be closed before returning result or throwing exception (https://hc.apache.org/httpcomponents-client-ga/quickstart.html)
Currently it only close InputStream returned from HttpEntity.