httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49921] New: Trailers in chunked http requests are not handled correctly
Date Tue, 14 Sep 2010 02:34:38 GMT

           Summary: Trailers in chunked http requests are not handled
           Product: Apache httpd-2
           Version: 2.2.16
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy_ajp

I'm having Apache web server (latest version - 2.2) connected to a Tomcat (also
latest version - 6.0.29) server through the mod_proxy_ajp module. The Tomcat
server hosts a spring 3.0 based application.

The clients of this application are embedded devices that use HTTP/1.1 protocol
and send chunked http requests to the server that include trailers as well.
The application hosted by Tomcat does not see any of those trailers, I was
expecting to find them as additional headers (per RFC 2616, 14.40) in the http
request object. 
There are no messages in the Apache's error log file.

It seems like Apache web server does not support trailers handling on http
requests (I know for sure Tomcat does not support it).

Here is a sample chunked http request to give you an idea:
POST /controller HTTP/1.1
Host: localhost
Content-Type: application/x-www-form-urlencoded; charset=ISO-8859-1
Transfer-Encoding: chunked
TE: chunked
Trailer: x-Content-Signature

<request body - first chunk>
<request body - last chunk>
x-Content-Signature: <signature>

The "x-Content-Signature" trailer does not get transferred into the request

Dan Luca.

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message