Mathias Ricken
Mathias Ricken
It sounds like the `response.close();` is the problem: https://github.com/jersey/jersey/commit/0d1326dee69d9c693014184bea3e4a44b323daee + return new FilterInputStream(inputStream) { + @Override + public void close() throws IOException { + response.close(); + super.close(); + } However,...
http://hc.apache.org/httpcomponents-client-4.4.x/tutorial/html/fundamentals.html#d5e145 “In order to ensure proper release of system resources one must close either the content stream associated with the entity **or** the response itself … The difference between closing...