Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.5 handles connection refused slightly differently (probably by using SO_ERROR) that needed adjustment to code that detects it.