-
Notifications
You must be signed in to change notification settings - Fork 509
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly fix asyncio QUIC shutdown races [#1069].
There were two basic issues: 1) We did not wake up the sender thread to do work in some cases, and could sleep for a long time. 2) asyncio.wait_for() does not instantly run the function, it just schedules it, and our guards against lost wakeups were thus in the wrong place.
- Loading branch information
Showing
1 changed file
with
18 additions
and
23 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