-
Notifications
You must be signed in to change notification settings - Fork 656
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HappyEyeballs should tolerate uncancellable tasks.
Motivation: The HappyEyeballs state machine incorrectly assumed that it would always be able to cancel any scheduled task that would execute on the event loop that the state machine itself was running on. This is not accurate: if the scheduled task is scheduled to execute at roughly the same time as another callback into the state machine then it may be uncancellable. Modifications: Allowed the three scheduled tasks (connect timeout, connect delay, and resolver delay) to fire in completed. Result: No fatalErrors in window conditions under high load
- Loading branch information
Showing
3 changed files
with
107 additions
and
3 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
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