]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: h3: Set HTX flags corresponding to the scheme found in the request
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 26 May 2025 09:28:04 +0000 (11:28 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 26 May 2025 09:38:29 +0000 (11:38 +0200)
commitda9792cca85366e3da4d716c0eb4a6a8bb9c1e62
tree483a918ccb3da386aa1f02d4e95a03d98f184760
parent083708daf852f362b42524b5c510e1ae6196c39f
BUG/MINOR: h3: Set HTX flags corresponding to the scheme found in the request

When a ":scheme" pseudo-header is found in a h3 request, the
HTX_SL_F_HAS_SCHM flag must be set on the HTX message. And if the scheme is
'http' or 'https', the corresponding HTX flag must also be set. So,
respectively, HTX_SL_F_SCHM_HTTP or HTX_SL_F_SCHM_HTTPS.

It is mainly used to send the right ":scheme" pseudo-header value to H2
server on backend side.

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