https://bz.apache.org/bugzilla/show_bug.cgi?id=68970

--- Comment #19 from Joe Orton <jor...@redhat.com> ---
> 4. Convert our CGI processes to be NPH

I think this is the correct approach. This is an explicit opt-out from httpd
interpreting any headers, which is exactly what you want/expect to happen.
Because it short-circuits content-level filtering, a filter like DEFLATE will
not further transform/corrupt the response.

You have you still not demonstrated a minimal reproducer + config which shows a
CGI script producing chunked output through a DEFLATE filter without response
corruption?

IMO rather than double-down on the opt-out, mod_cgi* should fail with 5xx for
(non-nph) CGI output which includes Transfer-Encoding because it breaks so many
assumptions, e.g. with content-level filters. PoC:
https://github.com/apache/httpd/pull/444

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to