]> git.kaiwu.me - haproxy.git/commit
MEDIUM: h1: switch to the generic trailers parser
authorWilly Tarreau <w@1wt.eu>
Wed, 9 Sep 2026 11:40:52 +0000 (13:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 11 Sep 2026 08:08:12 +0000 (10:08 +0200)
commit2bfc82ba1a226ccd1c5578dd81ab838229aacbf2
tree9a46367503d92769fa0696f473ef56749bafa1c7
parent94ddd9d3c567b2a3604c4539877bcfcdaab486a3
MEDIUM: h1: switch to the generic trailers parser

Let's now use http_trailers_to_htx() instead of htx_add_all_trailers()
to parse HTTP/1 trailers. Upper case is permitted and thats the only
difference with H2/H3 for now.

The parser is stricter than the previous function, so the following
names are now rejected as it is for other versions:

  "host", "content-length", "connection", "proxy-connection"
  "keep-alive", "upgrade", "te", "transfer-encoding"
src/h1_htx.c