mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-09 00:32:33 -04:00
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:
parent
ec552b0cc2
commit
63febbace7
1 changed files with 6 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue