[ https://issues.apache.org/jira/browse/CXF-5144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13727760#comment-13727760 ]
Sergey Beryozkin commented on CXF-5144: --------------------------------------- I'm making auto-closing response stream optional: we don't know of possible side-effects really. Example, if Reader or JAXP Source or lazy reading Stax-based Document is requested then we have a failure. In fact we can have random failures. Lets make it optional first and then see how realistic it is to make it automatic. > JAX-RS Client Proxy-based API connection leak > --------------------------------------------- > > Key: CXF-5144 > URL: https://issues.apache.org/jira/browse/CXF-5144 > Project: CXF > Issue Type: Bug > Components: JAX-RS > Reporter: James Wu > Assignee: Sergey Beryozkin > Fix For: 3.0.0, 2.6.10, 2.7.7 > > > JAX-RS Client Proxy-based API could not reuse the TCP connection, even though > with keep-alive. The reason is the InputStream did not be closed when the > response body had been handled in ClientProxyImpl.handleResponse(), so do > Webclient.handleResponse(). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira