diff options
author | Alejandro Colomar <alx@nginx.com> | 2023-09-05 03:16:29 +0200 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2023-12-19 15:02:42 +0100 |
commit | 9479559dc08ab13adc4c60e198d5e4d9d289ee02 (patch) | |
tree | 52648165772e01d3e0227e34f7531d7190779fe2 /src/test/nxt_clone_test.c | |
parent | f9761247794fce2de3726f3de9871a8ec24dcef3 (diff) | |
download | unit-alx-gzip.tar.gz unit-alx-gzip.tar.bz2 |
HTTP: compress: gzip: calculating wbits and memlevel dynamically.alx-gzip
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/test/nxt_clone_test.c')
0 files changed, 0 insertions, 0 deletions