Yannick Lecaillez created CXF-5564: -------------------------------------- Summary: Asynchronous broken http-hc Key: CXF-5564 URL: https://issues.apache.org/jira/browse/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 (v6.1.5#6160)