]> git.kaiwu.me - nginx.git/commit
Gzip: updated handling of zlib variant from Intel.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 5 Apr 2021 01:07:17 +0000 (04:07 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 5 Apr 2021 01:07:17 +0000 (04:07 +0300)
commit4af67214ad3d7f0f525bea777d5a43aa7a702ecf
tree33315ea6ba355844f2f6a67f1c611b99215de9cc
parente3797a66a3d8213b5c34cafca5a8882b152fc2c2
Gzip: updated handling of zlib variant from Intel.

In current versions (all versions based on zlib 1.2.11, at least
since 2018) it no longer uses 64K hash and does not force window
bits to 13 if it is less than 13.  That is, it needs just 16 bytes
more memory than normal zlib, so these bytes are simply added to
the normal size calculation.
src/http/modules/ngx_http_gzip_filter_module.c