summaryrefslogtreecommitdiffhomepage
path: root/LICENSE
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@nginx.com>2023-09-05 03:16:29 +0200
committerAlejandro Colomar <alx@kernel.org>2023-12-19 15:02:42 +0100
commit9479559dc08ab13adc4c60e198d5e4d9d289ee02 (patch)
tree52648165772e01d3e0227e34f7531d7190779fe2 /LICENSE
parentf9761247794fce2de3726f3de9871a8ec24dcef3 (diff)
downloadunit-9479559dc08ab13adc4c60e198d5e4d9d289ee02.tar.gz
unit-9479559dc08ab13adc4c60e198d5e4d9d289ee02.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 'LICENSE')
0 files changed, 0 insertions, 0 deletions