[ https://issues.apache.org/jira/browse/CXF-9064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17894715#comment-17894715 ]
Andriy Redko commented on CXF-9064: ----------------------------------- Apologies [~exprompt] , missed the out stream comment, I think you have a point and we should be closing it since it is transferred to newly created wrappedStream. I will submit the pull request shortly, thank you. > AsyncHTTPConduit doesn't close wrappedStream on close > ----------------------------------------------------- > > Key: CXF-9064 > URL: https://issues.apache.org/jira/browse/CXF-9064 > Project: CXF > Issue Type: Bug > Affects Versions: 3.6.4 > Reporter: Alexey Deryabin > Priority: Major > > I found that in > org.apache.cxf.transport.http.asyncclient.AsyncHTTPConduit$AsyncWrappedOutputStream > on close method the wrappedStream is not closed but reassigned to the new > anonymous OutputStream in handleHeadersTrustCaching by setupWrappedStream. > It is in cxf-rt-transports-http-hc module. > My suggest to add out.close() on 426 line. -- This message was sent by Atlassian Jira (v8.20.10#820010)