forked from nanomsg/mangos-v1
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
socket: support network IO deadline (#339)
This resolves #339 by setting an r/w timeout for pipe reads/writes (if present). This allows listening sockets to recover from bad incoming connections, and also goroutines suffering from broken connections, to recover.
- Loading branch information
Gerrit Renker
authored and
Gerrit Renker
committed
Jan 30, 2019
1 parent
23b260d
commit 33ba76a
Showing
3 changed files
with
43 additions
and
2 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