You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2012/05/12 09:35:50 UTC

[jira] [Created] (CAMEL-5274) Jetty client can corrupt streams if used in a bridge mode (proxy)

Claus Ibsen created CAMEL-5274:
----------------------------------

             Summary: Jetty client can corrupt streams if used in a bridge mode (proxy)
                 Key: CAMEL-5274
                 URL: https://issues.apache.org/jira/browse/CAMEL-5274
             Project: Camel
          Issue Type: Bug
          Components: camel-jetty
    Affects Versions: 2.8.5
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.8.6, 2.9.3, 2.10.0


The jetty http producer should favor streams over Strings, which otherwise could cause the payload to be corrupted if doing a bridge mode, eg from jetty to jetty.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-5274) Jetty client can corrupt streams if used in a bridge mode (proxy)

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-5274.
--------------------------------

    Resolution: Fixed
    
> Jetty client can corrupt streams if used in a bridge mode (proxy)
> -----------------------------------------------------------------
>
>                 Key: CAMEL-5274
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5274
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jetty
>    Affects Versions: 2.8.5
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.8.6, 2.9.3, 2.10.0
>
>
> The jetty http producer should favor streams over Strings, which otherwise could cause the payload to be corrupted if doing a bridge mode, eg from jetty to jetty.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-5274) Jetty client can corrupt streams if used in a bridge mode (proxy)

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13273910#comment-13273910 ] 

Willem Jiang commented on CAMEL-5274:
-------------------------------------

@Claus,

I just found the DefaultJettyHttpBinding just try to take the response as String too.
We may need to update request and response side at the same time.

Willem
                
> Jetty client can corrupt streams if used in a bridge mode (proxy)
> -----------------------------------------------------------------
>
>                 Key: CAMEL-5274
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5274
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jetty
>    Affects Versions: 2.8.5
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.8.6, 2.9.3, 2.10.0
>
>
> The jetty http producer should favor streams over Strings, which otherwise could cause the payload to be corrupted if doing a bridge mode, eg from jetty to jetty.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira