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

Andriy Redko commented on CXF-9064:
-----------------------------------

Thanks [~exprompt], the wrappedStream  is closed by `super.close()` call chain, 
more specifically AbstractWrappedOutputStream::close() (if it is not cached), 
does it address your concern? 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)

Reply via email to