]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: qmux: change API for snd_buf FIN transmission
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 10 Jul 2025 13:27:23 +0000 (15:27 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 15 Jul 2025 16:39:23 +0000 (18:39 +0200)
commitf349df44b4e21d8bf9b575a0aa869056a2ebaa58
tree712b907e6c62ab453d05059409420e072b867469
parentd8b34459b52027d0621ebb0ac146fa277ab8e2ba
MINOR: qmux: change API for snd_buf FIN transmission

Previous patches have fixes interim response encoding via
h3_resp_headers_send(). However, it is still necessary to adjust h3
layer state-machine so that several successive HTTP responses are
accepted for a single stream.

Prior to this, QMUX was responsible to decree that the final HTX message
was encoded so that FIN stream can be emitted. However, with interim
response, MUX is in fact unable to properly determine this. As such,
this is the responsibility of the application protocol layer. To reflect
this, app_ops snd_buf callback is modified so that a new output argument
<fin> is added to it.

Note that for now this commit does not bring any functional change.
However, it will be necessary for the following patch. As such, it
should be backported prior to it to every versions as necessary.
include/haproxy/mux_quic-t.h
src/h3.c
src/hq_interop.c
src/qmux_http.c