-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix race condition when receiving 0-RTT packets #3074
Conversation
2cf5294
to
496b0e4
Compare
Codecov Report
@@ Coverage Diff @@
## master #3074 +/- ##
==========================================
- Coverage 85.84% 85.71% -0.12%
==========================================
Files 132 131 -1
Lines 9519 9520 +1
==========================================
- Hits 8171 8160 -11
- Misses 983 991 +8
- Partials 365 369 +4
Continue to review full report at Codecov.
|
6a02c4d
to
acf6db7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm modulo comments in dependee PR
acf6db7
to
227f720
Compare
227f720
to
e51e0c4
Compare
This prevents a race condition between receiving of 0-RTT packets and the creation of new session.
e51e0c4
to
2bd316b
Compare
Fixes #2629. Depends #3066.
By moving the logic for queueing 0-RTT packets into the packet handler map, we can avoid the race condition between receiving 0-RTT packets and the creation of new sessions.