
bugzilla at apache
May 30, 2012, 11:25 AM
Post #1 of 1
(74 views)
Permalink
|
|
[Bug 53332] New: Requests with chunked encoding have no body available to FCGI backend
|
|
https://issues.apache.org/bugzilla/show_bug.cgi?id=53332 Priority: P2 Bug ID: 53332 Assignee: bugs [at] httpd Summary: Requests with chunked encoding have no body available to FCGI backend Severity: normal Classification: Unclassified OS: Linux Reporter: dominic.benson [at] thirdlight Hardware: All Status: NEW Version: 2.2.22 Component: mod_fcgid Product: Apache httpd-2 Created attachment 28862 --> https://issues.apache.org/bugzilla/attachment.cgi?id=28862&action=edit Patch to set CONTENT_LENGTH FCGI params based on actual request body Requests with Transfer-Encoding: chunked (notably from OS/X Finder WebDAV PUT) don't have a Content-Length header, and so the FCGI CONTENT_LENGTH doesn't get set. Because of the spec, conforming backends don't read any of the body of the request. Conveniently, as mod_fcgid already buffers the entire request, it is relatively straightforward to adjust so that this is set. Attached is a patch to support this - tested under httpd 2.2.22, mod_fcgid 2.3.6 on Linux x86. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe [at] httpd For additional commands, e-mail: bugs-help [at] httpd
|