-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Early return in stateless reset parsing
Summary: As in title. If we parse something as a stateless reset matching our token, return early. The code before would check if the header parsed as a short header, but that's not correct. If the token bytes match, we should treat it as a stateless reset as this is a more certain check. See: https://www.rfc-editor.org/rfc/rfc9000.html#section-10.3.1 Reviewed By: sharmafb Differential Revision: D56376777 fbshipit-source-id: 2a7ce041c872f296db6c4d608895c3b81e479628
- Loading branch information
1 parent
e30a104
commit fc21b6c
Showing
2 changed files
with
2 additions
and
84 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