[ 
https://issues.apache.org/activemq/browse/SM-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Termin resolved SM-1038.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 3.2

Fixed

Many thanks to Torsten Mielke for the patch!!!

Author: tterm
Date: Wed Aug 22 08:09:59 2007
New Revision: 568645

URL: http://svn.apache.org/viewvc?rev=568645&view=rev
Log:
SM-1038 http provider endpoint sends wrong Host header

Modified:
    
incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/endpoints/DefaultHttpProviderMarshaler.java



> http provider endpoint sends wrong Host header
> ----------------------------------------------
>
>                 Key: SM-1038
>                 URL: https://issues.apache.org/activemq/browse/SM-1038
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-http
>    Affects Versions: 3.1.1
>         Environment: JDK 5.0
>            Reporter: Torsten Mielke
>             Fix For: 3.2
>
>         Attachments: http-marshaler.patch
>
>
> The current ServiceMix http:provider endpoint uses jetty-client-6.1.5 
> library, which contains a bug fixed in their trunk. More infomation on 
> http://fisheye.codehaus.org/browse/jetty-contrib/jetty/trunk/contrib/client/src/main/java/org/mortbay/jetty/client/HttpConnection.java?r1=374&r2=378.
> This causes wrong Host header in HTTP request.
> Actual Host header looks like this:
> Host: [EMAIL PROTECTED]//host.com:8080(1,0,0)
> Of course such header causes HTTP 400 response and endpoint cannot be used at 
> all.
> To work around this bug 
> deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/endpoints/DefaultHttpProviderMarshaler.java
>  needs to get the attached patch applied.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to