]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: do not crash on QMux reception of BLOCKED frames master quic-interop flx04/master flx04/quic-interop
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 10 Apr 2026 08:28:23 +0000 (10:28 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 10 Apr 2026 08:30:49 +0000 (10:30 +0200)
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.

src/mux_quic_qstrm.c

index 1b9dc762970f19e64568d944ba6d0b340d197506..9a6974a38cc30c85a2e1e0f7da20b867e47c23a0 100644 (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();
        }