diff options
author | Alejandro Colomar <alx@nginx.com> | 2023-09-05 03:16:29 +0200 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2023-10-25 13:38:57 +0200 |
commit | 5a4e673259b22418dfeb929a1e39ee40427cdd6e (patch) | |
tree | 21f7040eac505a9ea9347849227f18da43233c67 /src/nxt_pollset_engine.c | |
parent | 0313eff061f52648f58bea4ec4d40b5255c59226 (diff) | |
download | unit-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_pollset_engine.c')
0 files changed, 0 insertions, 0 deletions