Fix handling of chunked request bodies.  Even though the FastCGI
protocol is "streamy", it (via the CGI/1.1 spec) requires
content-length to be known and delivered for chunked requests:

* modules/fcgid/fcgid_bridge.c
  (add_request_body): Return the request body length.
  (bridge_request): Fetch the request body earlier, and
  send Content-Length if the request was chunked.

PR: 53332
Submitted by: Dominic Benson  <dominic.benson thirdlight.com>, jorton


git-svn-id: https://svn.apache.org/repos/asf/httpd/mod_fcgid/trunk@1848298 13f79535-47bb-0310-9956-ffa450edef68
2 files changed