You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2014/03/18 20:00:46 UTC
[jira] [Resolved] (CXF-5564) Asynchronous broken http-hc
[ https://issues.apache.org/jira/browse/CXF-5564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-5564.
------------------------------
Resolution: Fixed
Fix Version/s: 2.7.11
3.0.0
Assignee: Daniel Kulp
> 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
> Assignee: Daniel Kulp
> Labels: asynchronous
> Fix For: 3.0.0, 2.7.11
>
>
> 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.2#6252)