Bugfix for FastCGI compression

This commit is contained in:
2020-12-27 20:15:49 +01:00
parent b6ecb68b1a
commit c6fbf25192

View File

@ -423,6 +423,7 @@ int fastcgi_send(fastcgi_conn *conn, sock *client, int flags) {
if (flags & FASTCGI_COMPRESS) { if (flags & FASTCGI_COMPRESS) {
finish_comp = 1; finish_comp = 1;
content_len = 0;
goto out; goto out;
finish: finish:
deflateEnd(&strm); deflateEnd(&strm);