You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/09/14 04:34:38 UTC

DO NOT REPLY [Bug 49921] New: Trailers in chunked http requests are not handled correctly

https://issues.apache.org/bugzilla/show_bug.cgi?id=49921

           Summary: Trailers in chunked http requests are not handled
                    correctly
           Product: Apache httpd-2
           Version: 2.2.16
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy_ajp
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: dan.luca@bsci.com


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

358
<request body - first chunk>
240
<request body - last chunk>
0
x-Content-Signature: <signature>
=================================================================

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

Thanks,
Dan Luca.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


[Bug 49921] Trailers in chunked http requests are not handled correctly

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49921

Jeff Trawick <tr...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|PC                          |All
                 OS|Windows XP                  |All

-- 
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