Mercurial > hg > nginx-quic
diff src/mail/ngx_mail.c @ 4965:58dfef910ccd
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.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Fri, 14 Dec 2012 15:17:58 +0000 |
parents | 49a3fb31a05c |
children | 05ba5bce31e0 |