]> git.kaiwu.me - haproxy.git/commit
MINOR: http-htx: pass extra flags to the HTTP trailers parser
authorWilly Tarreau <w@1wt.eu>
Thu, 10 Sep 2026 14:05:24 +0000 (16:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 11 Sep 2026 08:08:12 +0000 (10:08 +0200)
commit883ba3af9068d22eb1bedf84025c9eb5c9fdc55f
treefccb36a6f2d604444f64debfdb28663b5297a3c0
parentb4298addef648c0c228e3a6f0915387f1b6aa05a
MINOR: http-htx: pass extra flags to the HTTP trailers parser

Let's introduce HTTP parser flags (HTTP_PF_*) and rely on them for the
trailers parser. This one will need them to decide to enable upper case
characters or not in header names in order to reuse it for H1 parsing.

For now we only pass the direction. The current parser doesn't use it
but the goal is to generalize the mechanism to other parsers in the
future.
include/haproxy/http-t.h
include/haproxy/http_htx.h
src/h3.c
src/http_htx.c
src/mux_h2.c