Mercurial > hg > nginx
diff src/http/modules/ngx_http_gzip_filter.c @ 157:70b36c805682
nginx-0.0.1-2003-10-23-19:54:19 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 23 Oct 2003 15:54:19 +0000 |
parents | afc333135a6b |
children | d377ee423603 |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_gzip_filter.c +++ b/src/http/modules/ngx_http_gzip_filter.c @@ -247,7 +247,7 @@ static int ngx_http_gzip_body_filter(ngx * * 8K is for zlib deflate_state (~6K). * - * TODO: 64-bit, round to PAGE_SIZE + * TODO: 64-bit, round to PAGE_SIZE, autoconf of deflate_state size */ ctx->allocated = 8192 + (1 << (wbits + 2)) + (1 << (memlevel + 9));