summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_compress_gzip.h
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@nginx.com>2023-09-05 03:16:29 +0200
committerAlejandro Colomar <alx@kernel.org>2023-10-25 13:38:57 +0200
commit5a4e673259b22418dfeb929a1e39ee40427cdd6e (patch)
tree21f7040eac505a9ea9347849227f18da43233c67 /src/nxt_http_compress_gzip.h
parent0313eff061f52648f58bea4ec4d40b5255c59226 (diff)
downloadunit-gzip-v37.tar.gz
unit-gzip-v37.tar.bz2
HTTP: compress: gzip: calculating wbits and memlevel dynamically.gzip-v37
When the content length is small, optimize zlib for low memory usage. Conversely, when the content length is large, use a similar amount of memory within zlib, as it will improve compression, and won't hurt significantly. Signed-off-by: Alejandro Colomar <alx@nginx.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'src/nxt_http_compress_gzip.h')
0 files changed, 0 insertions, 0 deletions