]> git.kaiwu.me - haproxy.git/commit
MEDIUM: mux-h2: rely on the generic trailers parser
authorWilly Tarreau <w@1wt.eu>
Tue, 8 Sep 2026 08:03:20 +0000 (10:03 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 8 Sep 2026 12:50:50 +0000 (14:50 +0200)
commit7ca28521fe1c0bff77a2d66b52679d7aa1d57d2a
treedd70713a912cfbd0cd1e620ad23df015914cab42
parent6991158499b139a07f92c9677a354e6638b9f6fd
MEDIUM: mux-h2: rely on the generic trailers parser

http_trailers_to_htx() was made from h2_make_htx_trailers(), so it's
expected that we can get rid of the latter in favor of the former to
aim towards a generic parser.

For now we don't exploit the extended return codes, we only check for
HTTP_PRS_SUCCESS to detect parsing failures.
src/mux_h2.c