[ https://issues.apache.org/jira/browse/CXF-5144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13869107#comment-13869107 ]
Sergey Beryozkin commented on CXF-5144: --------------------------------------- Set it as a property on JAXRSClientFactoryBean, or on the created proxy, by doing WebClient.getConfig(proxy) first, or in jaxrs:properties if using jaxrs:client Sergey > 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)