]> git.kaiwu.me - haproxy.git/commit
MEDIUM: mux-quic: implement QMux send
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 27 Mar 2026 13:41:40 +0000 (14:41 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 2 Apr 2026 12:02:04 +0000 (14:02 +0200)
commite8d9eb4f7ae731ed2eaa47867f6770d78fc3f3ef
tree0a487750d642f2c24bc8ee38124415b9c9db913a
parent0f0574ee9616157af45aa5de56effc29635f703f
MEDIUM: mux-quic: implement QMux send

This patchs implement mux-quic reception for the new QMux protocol. This
is performed via the new function qcc_qstrm_send_frames(). Its interface
is similar to the QUIC equivalent : it takes a list of frames and
encodes them in a buffer before sending it via snd_buf.

Contrary to QUIC, a check on CO_FL_ERROR flag is performed prior to
every qcc_qstrm_send_frames() invokation to interrupt emission. This is
necessary as the transport layer may set it during snd_buf. This is not
the case currently for quic_conn layer, but maybe a similar mechanism
should be implemented as well for QUIC in the future.
include/haproxy/mux_quic_qstrm.h
src/mux_quic.c
src/mux_quic_qstrm.c