[ https://issues.apache.org/activemq/browse/SM-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39996 ]
Thomas Termin commented on SM-1038: ----------------------------------- Patch should be undone if a new jetty release is available > 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.