-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
transport(tcp): make send sockets blocking (#424)
Under high-load we are seeing some ::send operations fail with EAGAIN/EWOULDBLOCK. This is because we set send sockets as non-blocking, but we do not handle the EAGAIN/EWOULDBLOCK situation in the send loop. As a first iteration, we attempt setting the send sockets as blocking. Note that, irrespective of wether send sockets block or not, partial writes may still happen.
- Loading branch information
1 parent
bb8c00e
commit a56f111
Showing
2 changed files
with
25 additions
and
8 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