DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20069>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20069

concatenation of headers isn't right when using mod_proxy

           Summary: concatenation of headers isn't right when using
                    mod_proxy
           Product: Apache httpd-2.0
           Version: 2.0.45
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


ap_http_filter (in http_protocol.c) will throw an Invalid Content-length error
on proxied requests that contain more than one Content-length headers.  

This is because the APR tables code will join the values with a comma, so when
ap_http_filter parses it there will be characters left over, which it considers
an error.

I.e.:

Content-Length: 331
Content-Type: text/plain
Content-Length: 331

ends up as:

Content-Length: 331, 331

(Obviously the behavior of the program generating the double headers is wrong -
but because of the header rewriting done by apache - it was difficult to track
down.)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to