cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yannick Lecaillez (JIRA)" <>
Subject [jira] [Created] (CXF-5564) Asynchronous broken http-hc
Date Mon, 17 Feb 2014 13:54:23 GMT
Yannick Lecaillez created CXF-5564:

             Summary: Asynchronous broken http-hc
                 Key: CXF-5564
             Project: CXF
          Issue Type: Bug
          Components: Transports
    Affects Versions: 2.7.8
            Reporter: Yannick Lecaillez

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().

This message was sent by Atlassian JIRA

View raw message