Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-9064

AsyncHTTPConduit doesn't close copied wrappedStream on close

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.9, 4.0.5, 3.6.4
    • 4.1.0, 3.5.10, 3.6.5, 4.0.6
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            reta Andriy Redko
            exprompt Alexey Deryabin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment