From: Amaury Denoyelle Date: Fri, 27 Mar 2026 09:15:13 +0000 (+0100) Subject: MINOR: mux-quic: handle flow-control frame on qstream read X-Git-Tag: v3.4-dev8~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=068baf4ddfc1f5085b83ad2bc426ed7e395e13ad;p=thirdparty%2Fhaproxy.git MINOR: mux-quic: handle flow-control frame on qstream read Implements parsing of frames related to flow-control for mux-quic running on the new QMux protocol. This simply calls qcc_recv_*() MUX functions already used by QUIC. --- diff --git a/src/mux_quic_qstrm.c b/src/mux_quic_qstrm.c index 17ab97713..2c885b453 100644 --- a/src/mux_quic_qstrm.c +++ b/src/mux_quic_qstrm.c @@ -64,6 +64,14 @@ static int qstrm_parse_frm(struct qcc *qcc, struct buffer *buf) struct qf_reset_stream *rst_frm = &frm.reset_stream; qcc_recv_reset_stream(qcc, rst_frm->id, rst_frm->app_error_code, rst_frm->final_size); } + else if (frm.type == QUIC_FT_MAX_DATA) { + struct qf_max_data *md_frm = &frm.max_data; + qcc_recv_max_data(qcc, md_frm->max_data); + } + else if (frm.type == QUIC_FT_MAX_STREAM_DATA) { + struct qf_max_stream_data *msd_frm = &frm.max_stream_data; + qcc_recv_max_stream_data(qcc, msd_frm->id, msd_frm->max_stream_data); + } else { ABORT_NOW(); }