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.
This commit is contained in:
Amaury Denoyelle 2026-04-10 10:28:23 +02:00
parent ec552b0cc2
commit 63febbace7

View File

@ -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();
}