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 2012/05/30 20:25:52 UTC

[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@httpd.apache.org
           Summary: Requests with chunked encoding have no body available
                    to FCGI backend
          Severity: normal
    Classification: Unclassified
                OS: Linux
          Reporter: dominic.benson@thirdlight.com
          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@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 53332] Requests with chunked encoding have no body available to FCGI backend

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

Stefan Priebe <st...@priebe.ws> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stefan@priebe.ws

-- 
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 53332] Requests with chunked encoding have no body available to FCGI backend

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

Graeme Phillipson <gr...@dai.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |graeme.phillipson@dai.co.uk

-- 
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 53332] Requests with chunked encoding have no body available to FCGI backend

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

Dominic Benson <do...@thirdlight.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable

-- 
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 53332] Requests with chunked encoding have no body available to FCGI backend

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

Franck V <fv...@pird.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fv@pird.com

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