cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sambit Dikshit (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5144) JAX-RS Client Proxy-based API connection leak
Date Thu, 09 Jan 2014 15:34:51 GMT

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

Sambit Dikshit commented on CXF-5144:
-------------------------------------

[~sergey_beryozkin]

In case proxy based client, it indeed is required to make it close. Do you suggest to make
it auto close. Where do we set this property in clientConfig.getRequestContext.put("response.stream.auto.close",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-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.1.5#6160)

Mime
View raw message