On Thu, Sep 25, 2025 at 01:14:16PM +0200, Florian Obser wrote:
> Nobody stepped up to fix chunked encoding in fastcgi. I think we should
> disable it.
> OK?
>
> diff --git server_fcgi.c server_fcgi.c
> index 70bd78c0820..303ca113d23 100644
> --- server_fcgi.c
> +++ server_fcgi.c
> @@ -389,7 +389,8 @@ server_fcgi(struct httpd *env, struct client *clt)
> fcgi_add_stdin(clt, NULL);
> }
>
> - if (strcmp(desc->http_version, "HTTP/1.1") == 0) {
> + /* chunked is not working correctly */
We probably want an XXX in the comment so that it doesn't get forgotten.
> + if (0 && strcmp(desc->http_version, "HTTP/1.1") == 0) {
> clt->clt_fcgi.chunked = 1;
> } else {
> /* HTTP/1.0 does not support chunked encoding */
>