Bugfix for FastCGI compression
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user