diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2023-03-27 21:25:05 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2023-03-27 21:25:05 +0300 |
commit | 87471918b20957694cb7a7503d2f868c8813c68b (patch) | |
tree | b8bfaf4e73cd4e5148b332fada23f95d199e9ad7 /src/os/unix/ngx_send.c | |
parent | 7b24b93d67daa9c16d665129fd5d3e7dbc583e4f (diff) | |
download | nginx-87471918b20957694cb7a7503d2f868c8813c68b.tar.gz nginx-87471918b20957694cb7a7503d2f868c8813c68b.zip |
Gzip: compatibility with recent zlib-ng versions.
It now uses custom alloc_aligned() wrapper for all allocations,
therefore all allocations are larger than expected by (64 + sizeof(void*)).
Further, they are seen as allocations of 1 element. Relevant calculations
were adjusted to reflect this, and state allocation is now protected
with a flag to avoid misinterpreting other allocations as the zlib
deflate_state allocation.
Further, it no longer forces window bits to 13 on compression level 1,
so the comment was adjusted to reflect this.
Diffstat (limited to 'src/os/unix/ngx_send.c')
0 files changed, 0 insertions, 0 deletions