summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_slab.h
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2024-12-23 17:57:45 +0400
committerpluknet <pluknet@nginx.com>2025-02-05 20:40:47 +0400
commit9cda58178bf6d552829d20fedee1d4df564f5629 (patch)
tree9f59e5297447b26c248b4b79ddd0eb607b83a583 /src/core/ngx_slab.h
parent977824010f0bb8e2b54963fd4532a6167e6a0ada (diff)
downloadnginx-9cda58178bf6d552829d20fedee1d4df564f5629.tar.gz
nginx-9cda58178bf6d552829d20fedee1d4df564f5629.tar.bz2
Gzip: compatibility with recent zlib-ng 2.2.x versions.
It now uses 5/4 times more memory for the pending buffer. Further, a single allocation is now used, which takes additional 56 bytes for deflate_allocs in 64-bit mode aligned to 16, to store sub-allocation pointers, and the total allocation size now padded up to 128 bytes, which takes theoretically 200 additional bytes in total. This fits though into "4 * (64 + sizeof(void*))" additional space for ZALLOC used in zlib-ng 2.1.x versions. The comment was updated to reflect this.
Diffstat (limited to 'src/core/ngx_slab.h')
0 files changed, 0 insertions, 0 deletions