Commit 37f09e7
committed
MINOR: mux_quic: report fatal error on QMux frame type parsing issue
QMux frames are now enclosed in an intermediary Record layer. A benefit
of this change is that this ensures frames will be wholly read.
As such, qc_parse_frm_type() should not fail anymore when parsing QMux
frames due to an incomplete type field. In this case, rxbuf is now
cleared and a fatal error is reported to the caller.1 parent 7cab3a3 commit 37f09e7
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
0 commit comments