]> git.kaiwu.me - haproxy.git/commit
MINOR: mux-quic: implement qstream send callback
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 27 Mar 2026 09:16:56 +0000 (10:16 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 2 Apr 2026 12:02:04 +0000 (14:02 +0200)
commit621f21f6fd041bc53249c67d6c619082c3353ec0
tree12d0e02300ec933fb09b5cacbdbbac4d9fa4dde9
parente8d9eb4f7ae731ed2eaa47867f6770d78fc3f3ef
MINOR: mux-quic: implement qstream send callback

Each time a QUIC frame is emitted, mux-quic layer is notified via a
callback to update the underlying QCS. For QUIC, this is performed via
qc_stream_desc element.

In QMux protocol, this can be simplified as there is no
qc_stream_desc/quic_conn layer interaction. Instead, each time snd_buf
is called, QCS can be updated immediately using its return value. This
is performed via a new function qstrm_ctrl_send().

Its work is similar to the QUIC equivalent but in a simpler mode. In
particular, sent data can be immediately removed from the Tx buffer as
there is no need for retransmission when running above TCP.
include/haproxy/mux_quic_priv.h [new file with mode: 0644]
src/mux_quic.c
src/mux_quic_qstrm.c