You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Alessio Soldano (JIRA)" <ji...@apache.org> on 2013/07/11 08:51:49 UTC

[jira] [Commented] (CXF-5116) DelegatingInputStream created in AbstractHTTPDestination is cached into wrong Message instance

    [ https://issues.apache.org/jira/browse/CXF-5116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13705530#comment-13705530 ] 

Alessio Soldano commented on CXF-5116:
--------------------------------------

http://svn.apache.org/viewvc?view=revision&revision=r1502082 also related (on trunk / 3.0.x)
                
> DelegatingInputStream created in AbstractHTTPDestination is cached into wrong Message instance
> ----------------------------------------------------------------------------------------------
>
>                 Key: CXF-5116
>                 URL: https://issues.apache.org/jira/browse/CXF-5116
>             Project: CXF
>          Issue Type: Bug
>          Components: Core, Transports
>            Reporter: Alessio Soldano
>            Assignee: Alessio Soldano
>             Fix For: 2.6.9, 2.7.6, 3.0.0
>
>
> The DelegatingInputStream instance created in AbstractHTTPDestination uses the passed Message instance to cache HttpServletRequest inputs. However in ChainInitiationObserver::onMessage a new SoapMessage is created by copying the existing request message contents, so when the DelegatingInputStream caching is triggered, the input data is saved in wrong message instance.
> The result is CXF-2911 bug is still valid.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira