FastCGI compression

This commit is contained in:
2020-12-27 20:04:15 +01:00
parent 492e6a94cb
commit b6ecb68b1a
3 changed files with 51 additions and 13 deletions

View File

@ -112,8 +112,6 @@ int cache_process() {
if (compress) {
strm.avail_in = read;
strm.next_in = (unsigned char *) buf;
strm.avail_out = sizeof(comp_buf);
strm.next_out = (unsigned char *) comp_buf;
do {
strm.avail_out = sizeof(comp_buf);
strm.next_out = (unsigned char *) comp_buf;