camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <>
Subject [jira] Assigned: (CAMEL-324) bad content length header value in http response
Date Tue, 12 Feb 2008 16:46:35 GMT


Gary Tully reassigned CAMEL-324:

    Assignee: Gary Tully

> bad content length header value in http response
> ------------------------------------------------
>                 Key: CAMEL-324
>                 URL:
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-http
>    Affects Versions: 1.3.0
>            Reporter: alex c
>            Assignee: Gary Tully
>            Priority: Critical
> By default HttpBinding class copies all request header attributes from the request to
the response including 'Content-Length'. So the consequence is that the response is declaring
the same size as the request which can lead to serious truncation problems! 
> the workaround is simply to add the line:
> out.removeHeader("Content-Length"); 
> in the writeResponse method of the httpbinding class allowing jetty to set the right

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

View raw message