Descriptionnet: work around Solaris connect issue when server closes socket
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 issue 6828
Patch Set 1 #
Total comments: 1
Patch Set 2 : diff -r 0d4f83bb938b https://code.google.com/p/go #
MessagesTotal messages: 5
|