]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h3/qmux: Set QC_SF_UNKNOWN_PL_LENGTH flag on QCS when headers are sent
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 18 Sep 2025 07:25:31 +0000 (09:25 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 8 Oct 2025 09:01:36 +0000 (11:01 +0200)
commit586511c27886b3fab22cdd3e7b061a1f9b2225a7
tree34320482a6b3b5175001606ba32be827c76ab2c6
parent00b27a993fef425e523c1f92a8cb3193aaaa2ab2
MINOR: h3/qmux: Set QC_SF_UNKNOWN_PL_LENGTH flag on QCS when headers are sent

QC_SF_UNKNOWN_PL_LENGTH flag is set on the qcs to know a payload of message
has an unknown length and not send a RESET_STREAM on shutdown. This flag was
based on the HTX extra field value. However, it is not necessary. When
headers are processed, before sending them, it is possible to check the HTX
start-line to know if the length of the payload is known or not.

So let's do so and don't use anymore the HTX extra field for this purpose.
src/h3.c
src/qmux_http.c