Mercurial > hg > nginx
diff src/http/modules/ngx_http_gzip_filter.c @ 344:e366ba5db8f8
nginx-0.0.3-2004-06-01-10:04:46 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 01 Jun 2004 06:04:46 +0000 |
parents | 6bdf858bff8c |
children | 55e496a8ece3 |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_gzip_filter.c +++ b/src/http/modules/ngx_http_gzip_filter.c @@ -435,9 +435,9 @@ static int ngx_http_gzip_body_filter(ngx } /* - * We preallocate a memory for zlib in one hunk (200K-400K), this + * We preallocate a memory for zlib in one buffer (200K-400K), this * dicreases a number of malloc() and free() calls and also probably - * dicreases a number of syscalls. + * dicreases a number of syscalls (sbrk() or so). * Besides we free() this memory as soon as the gzipping will complete * and do not wait while a whole response will be sent to a client. *