]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-quic: refactor uni streams TX/send H3 SETTINGS
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 23 May 2022 09:39:14 +0000 (11:39 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 25 May 2022 13:41:25 +0000 (15:41 +0200)
commitc6195d77b4b6cb059630d11e2693540317ae56d1
treed696ce9c36fe6705650ff9d23a668b48f34bf90a
parent6754d7e2ed3a059722e2b0807933d97d45694128
BUG/MINOR: mux-quic: refactor uni streams TX/send H3 SETTINGS

Remove the unneeded skip over unidirectional streams in qc_send(). This
unify sending for both uni and bidi streams.

In fact, the only local unidirectional streams in use for the moment is
the H3 Control stream responsible of SETTINGS emission. The frame was
already properly generated in qcs.tx.buf, but not send due to stream
skip in qc_send(). Now, there is no need to ignore uni streams so remove
this condition.

This fixes the emission of H3 settings which is now properly emitted.

Uni and bidi streams use the same set of funtcions for sending. One of
the most notable gain is that flow-control is now enforced for uni
streams.
src/h3.c
src/mux_quic.c