You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Xiaobin Zheng (JIRA)" <ji...@apache.org> on 2015/05/08 01:07:59 UTC
[jira] [Commented] (CXF-5144) JAX-RS Client Proxy-based API
connection leak
[ https://issues.apache.org/jira/browse/CXF-5144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14533569#comment-14533569 ]
Xiaobin Zheng commented on CXF-5144:
------------------------------------
[~sergey_beryozkin] I am using CXF 2.7.5 and faces this issue. I tried migrating to 2.7.7 and add 'response.stream.auto.close=True' to RequestContext, which works for me.
But I see that https://java.net/jira/browse/JAX_RS_SPEC-424 is still open, and it seems that we might still dis-allow this feature in future. So would like to know if we have any decision made on this?
> 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-milestone1
>
>
> 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.3.4#6332)