You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Thomas Termin (JIRA)" <ji...@apache.org> on 2007/05/02 19:13:35 UTC

[jira] Commented: (SM-795) HTTP headers attached as properties may cause requests to fail

    [ https://issues.apache.org/activemq/browse/SM-795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39097 ] 

Thomas Termin commented on SM-795:
----------------------------------

Backport to 3.1 branch

Author: tterm
Date: Wed May  2 10:07:28 2007
New Revision: 534549

URL: http://svn.apache.org/viewvc?view=rev&rev=534549
Log:
SM-795 HTTP headers attached as properties may cause requests to fail

Modified:
    incubator/servicemix/branches/servicemix-3.1/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/HttpConfiguration.java
    incubator/servicemix/branches/servicemix-3.1/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/HttpConfigurationMBean.java
    incubator/servicemix/branches/servicemix-3.1/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java
    incubator/servicemix/branches/servicemix-3.1/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ProviderProcessor.java

> HTTP headers attached as properties may cause requests to fail
> --------------------------------------------------------------
>
>                 Key: SM-795
>                 URL: https://issues.apache.org/activemq/browse/SM-795
>             Project: ServiceMix
>          Issue Type: Improvement
>    Affects Versions: 3.1
>         Environment: W2KS, JDK1.5
>            Reporter: Maxim Y. Tebenev
>         Assigned To: Thomas Termin
>             Fix For: 3.2
>
>         Attachments: SM-795.patch
>
>
> When SMX receives HTTP response from provider HTTP endpoint it attaches HTTP headers as message properties. When forwarding the message to another provider endpoint the properties goes as HTTP headers in request. For example, the following request to the second provider endpoint will have following headers:
> POST /DeliveryService/DeliveryService HTTP/1.1
> Date: Wed, 27 Dec 2006 13:24:46 GMT
> Server: Apache-Coyote/1.1
> Transfer-Encoding: chunked
> Content-Type: text/xml
> Content-Length: 359
> SOAPAction: ""
> User-Agent: Jakarta Commons-HttpClient/3.0
> Host: localhost:8082
> Server, Date and Transfer-Encoding headers are illegal in client request and cause Apache Tomcat server to fail with 500 error.

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