Completes qmux_parse_frm() to ensure every frames allowed by QMux
protocol are listed. For now, nothing is implemented except a CHECK_IF()
to report such events.
This is necessary to prevent a crash on abort. Frames not supported by
QMux should already have been rejected prior via qmux_is_frm_valid().
frm.type == QUIC_FT_STREAMS_BLOCKED_BIDI ||
frm.type == QUIC_FT_STREAMS_BLOCKED_UNI) {
/* TODO */
+ CHECK_IF("received flow control blocked frame not yet handled in QMux");
+ }
+ else if (frm.type == QUIC_FT_PADDING) {
+ CHECK_IF("received padding frame not yet handled in QMux");
+ }
+ else if (frm.type == QUIC_FT_CONNECTION_CLOSE ||
+ frm.type == QUIC_FT_CONNECTION_CLOSE_APP) {
+ CHECK_IF("received connection_close frame not yet handled in QMux");
}
else {
+ /* qmux_is_frm_valid() must prevent this */
ABORT_NOW();
}