forked from aiortc/aioquic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[quic] Handle receiving a malformed QUIC frame type
If we fail to parse a frame type, for example due to a truncated variable-length integer, close the connection with a `FRAME_ENCODING_ERROR`. If we receive an unknown frame type, close the connection with `FRAME_ENCODING_ERROR` too, not `PROTOCOL_VIOLATION`. https://datatracker.ietf.org/doc/html/rfc9000#name-frames-and-frame-types Fixes: aiortc#406
- Loading branch information
Showing
2 changed files
with
28 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters