]> git.kaiwu.me - nginx.git/commit
HTTP/3: optimize encoder stream memory usage
authorRoman Arutyunyan <arut@nginx.com>
Fri, 10 Apr 2026 17:42:18 +0000 (21:42 +0400)
committerRoman Arutyunyan <arutyunyan.roman@gmail.com>
Thu, 16 Apr 2026 15:47:46 +0000 (19:47 +0400)
commitd7dd7e9ae4c2110f753cac02fd702eefef9fce16
tree44568659b787f42cdf1c7cf802d3d53e6cc22af1
parent4e89ce224f0b3fe9c1d1bc42eca0a7afecdcafb6
HTTP/3: optimize encoder stream memory usage

Previously, the encoder stream allocated each new inserted field in the
connection pool.  This memory was not freed until the end of the connection.
Now a special insert buffer is used for all inserts.
src/http/v3/ngx_http_v3_parse.c
src/http/v3/ngx_http_v3_parse.h
src/http/v3/ngx_http_v3_table.c
src/http/v3/ngx_http_v3_table.h