]> git.kaiwu.me - nginx.git/commit
Optimized chain link usage (ticket #2614).
authorRoman Arutyunyan <arut@nginx.com>
Thu, 23 May 2024 15:15:38 +0000 (19:15 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Thu, 23 May 2024 15:15:38 +0000 (19:15 +0400)
commitea8270c6142869367c5608bff92df9f5b3f32d37
tree557609f647241cce51a07aa3a71a060bf8dc86cc
parentefc6a217b92985a1ee211b6bb7337cd2f62deb90
Optimized chain link usage (ticket #2614).

Previously chain links could sometimes be dropped instead of being reused,
which could result in increased memory consumption during long requests.

A similar chain link issue in ngx_http_gzip_filter_module was fixed in
da46bfc484ef (1.11.10).

Based on a patch by Sangmin Lee.
src/core/ngx_output_chain.c
src/http/modules/ngx_http_grpc_module.c
src/http/modules/ngx_http_gunzip_filter_module.c
src/http/modules/ngx_http_gzip_filter_module.c
src/http/modules/ngx_http_ssi_filter_module.c
src/http/modules/ngx_http_sub_filter_module.c