-
Notifications
You must be signed in to change notification settings - Fork 447
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Completely redo the logic of TCP socket polling.
The previous implementation made no sense. It is obvious that poll_at() should use the same mechanisms to decide whether dispatch() should be called as dispatch() itself uses to decide whether to send anything. This fixes numerous busy looping issues that arise if the return value of poll() is used for waiting.
1 parent
1a81029
commit c73721a
Showing
1 changed file
with
114 additions
and
53 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