https://issues.apache.org/bugzilla/show_bug.cgi?id=57087
Bug ID: 57087
Summary: mod_proxy_fcgi doesn't send cgi CONTENT_LENGTH
variable when the client request used
Transfer-Encoding:chunked
Product: Apache httpd-2
Version: 2.4.7
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy_fcgi
Assignee: [email protected]
Reporter: [email protected]
As per RFC-3875:
"The server MUST set this meta-variable if and only if the request is
accompanied by a message-body entity. The CONTENT_LENGTH value must reflect
the length of the message-body after the server has removed any
transfer-codings or content-codings."
When a request is sent using Transfer-Encoding:chunked, while mod_proxy_fcgi is
removing the transfer coding (by turning each chunk into a fastcgi record) it
does not add a CONTENT_LENGTH meta-variable if the request does not contain a
Content-Length header (which of course it will not)
This causes problems with, for one, php-fpm which will not parse a POST request
body as it assumes the body is of length zero.
This is analogous to bug 53332 and bug 50274 in mod_fcgid
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]