]> git.kaiwu.me - haproxy.git/commit
MINOR: http: add <need_eot> to trailers parsing function
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 28 Oct 2026 15:16:28 +0000 (16:16 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 12 Nov 2026 16:30:08 +0000 (17:30 +0100)
commit6b3b676eb9878862c72bc19ed60068b553b678df
treea5f6418bca1fe3d40bd3162c4629ae1e71994888
parentaf5707d48ea69feca3eb36ea59d02013ff3b5e9f
MINOR: http: add <need_eot> to trailers parsing function

Adds an extra argument to http_trailers_to_htx() to specify if EOT block
is necessary. Most of this times this will be set to true by callers.
However, it is necessary to skip it if caller does not want to report
EOM immediately after.

For now, every parsers set this new argument to true. This will change
for HTTP/3 parser as FIN can be received later.
include/haproxy/http_htx.h
src/h1_htx.c
src/h3.c
src/http_htx.c
src/mux_h2.c