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

Asynchronous broken http-hc

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.8
    • Fix Version/s: 2.7.11, 3.0
    • Component/s: Transports
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: