]> 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)
commit75e3004902586f4120ddac4e3e00802a9024b79e
tree24526e9b535347cc344135357c8f4a0837dfb311
parenta728869cd10924b991b22c5b50a9317226499271
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