]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: prevent push frame for unidir streams
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 10 Mar 2022 15:46:18 +0000 (16:46 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 11 Mar 2022 10:37:31 +0000 (11:37 +0100)
commite2ec9421ea769cc5673b664300720ddbb2c0c9ac
tree2fa65a60db9caf8c3548bf7894bf49f65c743728
parent728b30d75049185158ae9874f737495d9bab9b99
MINOR: mux-quic: prevent push frame for unidir streams

For the moment, unidirectional streams handling is not identical to
bidirectional ones in MUX/H3 layer, both in Rx and Tx path. As a safety,
skip over uni streams in qc_send.

In fact, this change has no impact because qcs.tx.buf is emptied before
we start using qcs_push_frame, which prevents the call to
qcs_push_frame. However, this condition will soon change to improve
bidir streams emission, so an explicit check on stream type must be
done.

It is planified to unify uni and bidir streams handling in a future
stage. When implemented, the check will be removed.
src/mux_quic.c