]> git.kaiwu.me - nginx.git/commit
HTTP/2: do not block the output queue on trailers
authorSergey Kandaurov <pluknet@nginx.com>
Fri, 25 Sep 2026 15:34:44 +0000 (15:34 +0000)
committerSergey Kandaurov <pluknet@nginx.com>
Wed, 4 Nov 2026 18:09:10 +0000 (22:09 +0400)
commit867aefddbce17efd0e1e6ab1bfd5522e6e4cdc7d
tree8c8ccda9afb1ef03888d0d2b44a17858d88c6a0c
parent61031503dc8087c2c17cd2142c9b4b19062f90c4
HTTP/2: do not block the output queue on trailers

Unlike response headers, trailers are queued along with the stream data.
Blocking the queue on them would hold back every frame queued later,
including higher priority streams.

Also, this way unsent trailers are discarded along with the stream data
when the stream is reset.
src/http/v2/ngx_http_v2_filter_module.c