]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: h3: Properly report a C-L header was found to the HTX start-line
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 24 Jul 2023 09:37:10 +0000 (11:37 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 24 Jul 2023 09:58:35 +0000 (11:58 +0200)
commite42241ed2b1df77beb1817eb9bcc46bab793f25c
tree4ca52cba195de8f930a40b866082cbc5f11cd1d0
parentadb96fd9ff5d8e9e7c9e173857b5e221d1da0b51
BUG/MEDIUM: h3: Properly report a C-L header was found to the HTX start-line

When H3 HEADERS frames are converted to HTX, if a Content-Length header was
found, the HTX start-line must be notified by setting HTX_SL_F_CLEN flag.
Some components may rely on this flag to know there is a content-length
without looping on headers to get the info.

Among other this, it is mandatory for the FCGI multiplexer because it must
announce the message body length.

This patch must be backported as far as 2.6.
src/h3.c