forked from tornadoweb/tornado
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Errors from socket.connect() should be treated the same way as async …
…failures. On freebsd non-blocking connect() may return certain errors (such as ECONNREFUSED from localhost) immediately instead of returning EINPROGRESS and then giving the error later. Also improve the test for ipv6 compatibility, since freebsd returns a different error than other platforms when ipv6 is not available.
- Loading branch information
Showing
2 changed files
with
16 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