[ 
https://issues.apache.org/jira/browse/CXF-5144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13795046#comment-13795046
 ] 

James Wu commented on CXF-5144:
-------------------------------

the same as org.apache.cxf.jaxrs.impl.ResponseImpl.readEntity() method, the 
input stream should be closed after the entity read from it, in most of the 
cases, especially proxy based client, it's appropriate, so, maybe the property 
default value could be true.

> 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: 2.6.10, 2.7.7, 3.0.0
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to