• Ian Lance Taylor's avatar
    net: work around Solaris connect issue when server closes socket · 672525a5
    Ian Lance Taylor authored
    On Solaris, if you do a in-progress connect, and then the
    server accepts and closes the socket, the client's later
    attempt to complete the connect will fail with EINVAL.  Handle
    this case by assuming that the connect succeeded.  This code
    is weird enough that it is implemented as Solaris-only so that
    it doesn't hide a real error on a different OS.
    
    Update #6828
    
    R=golang-codereviews, bradfitz, dave
    CC=golang-codereviews
    https://golang.org/cl/46160043
    672525a5
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...