From: Amaury Denoyelle Date: Fri, 10 Apr 2026 08:28:23 +0000 (+0200) Subject: BUG/MINOR: do not crash on QMux reception of BLOCKED frames X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63febbace73c712fad31d13a53b24268190bed58;p=thirdparty%2Fhaproxy.git BUG/MINOR: do not crash on QMux reception of BLOCKED frames Add QUIC BLOCKED frames in the list of supported types in qstrm_parse_frm(). Nothing is really implemented for them as for QUIC, but this prevents a crash when receiving one of them via QMux. No need to backport. --- diff --git a/src/mux_quic_qstrm.c b/src/mux_quic_qstrm.c index 1b9dc7629..9a6974a38 100644 --- a/src/mux_quic_qstrm.c +++ b/src/mux_quic_qstrm.c @@ -77,6 +77,12 @@ static int qstrm_parse_frm(struct qcc *qcc, struct buffer *buf) 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 if (frm.type == QUIC_FT_DATA_BLOCKED || + frm.type == QUIC_FT_STREAM_DATA_BLOCKED || + frm.type == QUIC_FT_STREAMS_BLOCKED_BIDI || + frm.type == QUIC_FT_STREAMS_BLOCKED_UNI) { + /* TODO */ + } else { ABORT_NOW(); }