httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58177] New: Mod Proxy does forward trailers in http chunked request to backends
Date Fri, 24 Jul 2015 09:16:50 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=58177

            Bug ID: 58177
           Summary: Mod Proxy does forward trailers in http chunked
                    request to backends
           Product: Apache httpd-2
           Version: 2.4.12
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
          Assignee: bugs@httpd.apache.org
          Reporter: sachin.shetty@gmail.com

As per http spec, we want clients to send us trailers in chunked requests.
However the request on the server side does not get the trailer at all.

This can be reproduced with Apache 2.4.16 and mod proxy

Request:
<<<<<
telnet somehost 80
POST /some-path HTTP/1.1
Authorization: Basic XXXX=
Host: somehost.domain.com
Transfer-Encoding: chunked
Trailer: My-Test-Trailer

50
11111111111111111111111111111111111111111111111111111111111111111111111111111111
0
My-Test-Trailer: some-value-new
>>>>>> 

Mod proxy is forwarding the request to apache tomcat in our case and it does
not forward the trailers. We have verified that tomcat does get the trailers
when the same request is sent to tomcat directly, so mod proxy is blocking them
out.


Apparently mod proxy never uses the trailers stored in the request/response
trailers as per the discussion in the user group:
http://www.gossamer-threads.com/lists/apache/users/448909

This is very critical to us and blocking a feature rollout, I can help testing
a patch if available.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message