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

Asynchronous broken http-hc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.8
    • 2.7.11, 3.0
    • Transports

    Description

      Response callback for asynchronous invocation is not called.
      Once response is received AsyncWrappedOutputStream.setHttpResponse() is called but isAsync is false. As a consequence, handleResponseOnWorkqueue() is not called
      isAsync is set to true during the close process through a call to AsyncWrappedOutputStream.handleResponseAsync() but its too late.

      It might be a race condition.

      As a fix, i added isAsync as a constructor argument to AsyncWrappedOutputStream().

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            ylecaillez Yannick Lecaillez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: