summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_tstr.c
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@nginx.com>2023-09-05 03:16:29 +0200
committerAlejandro Colomar <alx@nginx.com>2023-09-05 04:36:56 +0200
commit993533a112a36cdd7afe704565e11e0dda5845f8 (patch)
tree8d767dccd3159ee213b6393dbe58dc65d6a0f201 /src/nxt_tstr.c
parent04e8bdfdbd42d73a68434f88249ab6652cf104a1 (diff)
downloadunit-gzip-v36.tar.gz
unit-gzip-v36.tar.bz2
HTTP: compress: gzip: calculating wbits and memlevel dynamically.gzip-v36
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>
Diffstat (limited to 'src/nxt_tstr.c')
0 files changed, 0 insertions, 0 deletions