https://bz.apache.org/bugzilla/show_bug.cgi?id=66597
--- Comment #9 from Yann Ylavic <[email protected]> --- Sorry this patch is broken. I tried to reproduce (with httpd-2.4.57) but couldn't. Using HTTP/1 or HTTP/2, with or without proxy-sendcl, the body is never sent "chunked" to the fcgi server (I'm using tcpdump/wireshark to capture the FCGI protocol to a simple `php-cgi -b 127.0.0.1:9000` server to look at the fcgi protocol data sent by mod_proxy_fcgi). With your curl command from comment 1, HTTP/1 or /2 with or without "SetEnv proxy-sendcl 1", a content-length is always sent too. But this depends on whether the full request body is immediately available (along with the HTTP header) on the proxy, which may not be your case. So I also tried with `curl --limit-rate 10 ...` so that 10 bytes are sent at a time only (by curl), and then without proxy-sendcl I could make mod_proxy_fcgi NOT send the content-length, but the body is still not sent with "chunked" encoding (it's sent in multiple FGCI_STDIN records, but that's not the HTTP "chunked" encoding that you describe). With proxy-sendcl, the content-length is always there regardless of --limit-rate (as expected), and no chunking still. So I can't see where your issue is coming from.. Could you attach the full error log of the request with the configuration snippet from comment 7 (trace8, mod_dumpio) but without applying the patch oviously? -- 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]
