comparison src/http/modules/ngx_http_gzip_filter.c @ 32:da8c190bdaba NGINX_0_1_16

nginx 0.1.16 *) Bugfix: if the response were transferred by chunks, then on the HEAD request the final chunk was issued. *) Bugfix: the "Connection: keep-alive" header were issued, even if the keepalive_timeout directive forbade the keep-alive use. *) Bugfix: the errors in the ngx_http_fastcgi_module caused the segmentation faults. *) Bugfix: the compressed response encrypted by SSL may not transferred complete. *) Bugfix: the TCP-specific TCP_NODELAY, TCP_NOPSUH, and TCP_CORK options, are not used for the unix domain sockets. *) Feature: the rewrite directive supports the arguments rewriting. *) Bugfix: the response code 400 was returned for the POST request with the "Content-Length: 0" header; bug appeared in 0.1.14.
author Igor Sysoev <http://sysoev.ru>
date Tue, 25 Jan 2005 00:00:00 +0300
parents 7ca9bdc82b3f
children aab2ea7c0458
comparison
equal deleted inserted replaced
31:1b17dd824438 32:da8c190bdaba
469 } 469 }
470 } 470 }
471 471
472 /* 472 /*
473 * We preallocate a memory for zlib in one buffer (200K-400K), this 473 * We preallocate a memory for zlib in one buffer (200K-400K), this
474 * dicreases a number of malloc() and free() calls and also probably 474 * decreases a number of malloc() and free() calls and also probably
475 * dicreases a number of syscalls (sbrk() and so on). 475 * decreases a number of syscalls (sbrk() and so on).
476 * Besides we free this memory as soon as the gzipping will complete 476 * Besides we free this memory as soon as the gzipping will complete
477 * and do not wait while a whole response will be sent to a client. 477 * and do not wait while a whole response will be sent to a client.
478 * 478 *
479 * 8K is for zlib deflate_state, it takes 479 * 8K is for zlib deflate_state, it takes
480 * * 5816 bytes on x86 and sparc64 (32-bit mode) 480 * * 5816 bytes on x86 and sparc64 (32-bit mode)