aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_grpc_module.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2024-12-23 17:57:45 +0400
committerRoman Arutyunyan <arutyunyan.roman@gmail.com>2025-01-09 17:19:24 +0400
commit57d54fd922e7ecbebb78598d13adc9df1a4b69c0 (patch)
tree3772502f386f83d0c1867869194e2a017f0f3ee5 /src/http/modules/ngx_http_grpc_module.c
parentfebe6e728ff83cfc5d5bcc0c74b4d8d63dc296b0 (diff)
downloadnginx-57d54fd922e7ecbebb78598d13adc9df1a4b69c0.tar.gz
nginx-57d54fd922e7ecbebb78598d13adc9df1a4b69c0.zip
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/http/modules/ngx_http_grpc_module.c')
0 files changed, 0 insertions, 0 deletions