]> git.kaiwu.me - nginx.git/commit
Merge of r4966: gzip: fixed zlib memLevel adjusting.
authorMaxim Dounin <mdounin@mdounin.ru>
Sun, 10 Feb 2013 03:52:26 +0000 (03:52 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Sun, 10 Feb 2013 03:52:26 +0000 (03:52 +0000)
commitad72db49c01a9b7bfa16199c7e4760000286790d
treed98fec715e6b97bdd3f151a269f868d6a86c1a92
parent244b6659ec7bff5e85814ab8be272ebe47ef24b8
Merge of r4966: gzip: fixed zlib memLevel adjusting.

An incorrect memLevel (lower than 1) might be passed to deflateInit2() if the
"gzip_hash" directive is set to a value less than the value of "gzip_window"
directive. This resulted in "deflateInit2() failed: -2" alert and an empty
reply.
src/http/modules/ngx_http_gzip_filter_module.c