gcc/libgo/go/net
Ian Lance Taylor f89b66f5ad net: 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.

See http://golang.org/issue/6828.

From-SVN: r206232
2013-12-28 18:00:30 +00:00
..
http libgo: Update to current Go library. 2013-11-27 01:05:38 +00:00
mail libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
rpc libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
smtp libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
testdata libgo: Update to current Go library. 2013-11-27 01:05:38 +00:00
textproto libgo: Update to current Go library. 2013-11-27 01:05:38 +00:00
url libgo: Update to current Go library. 2013-11-27 01:05:38 +00:00
cgo_bsd.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
cgo_linux.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
cgo_netbsd.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
cgo_openbsd.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
cgo_stub.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
cgo_unix.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
conn_test.go
dial_gen.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
dial_test.go re PR go/59506 (net FAILs (timeout) on alpha) 2013-12-27 21:42:26 +00:00
dial.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
dialgoogle_test.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
dnsclient_unix_test.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
dnsclient_unix.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
dnsclient.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
dnsconfig_unix.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
dnsmsg_test.go
dnsmsg.go
dnsname_test.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
fd_mutex_test.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
fd_mutex.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
fd_plan9.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
fd_poll_runtime.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
fd_select.go
fd_unix_test.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
fd_unix.go net: work around Solaris connect issue when server closes socket 2013-12-28 18:00:30 +00:00
fd_windows.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
file_plan9.go
file_test.go
file_unix.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
file_windows.go
hosts_test.go libgo: Update to current Go library. 2013-11-27 01:05:38 +00:00
hosts_testdata
hosts.go
interface_bsd.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
interface_darwin.go
interface_dragonfly.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
interface_freebsd.go
interface_linux.go
interface_netbsd.go
interface_openbsd.go
interface_stub.go
interface_test.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
interface_windows.go
interface.go
ip_test.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
ip.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
ipraw_test.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
iprawsock_plan9.go
iprawsock_posix.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
iprawsock.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
ipsock_plan9.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
ipsock_posix.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
ipsock_test.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
ipsock.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
lookup_plan9.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
lookup_test.go
lookup_unix.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
lookup_windows.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
lookup.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
mac_test.go
mac.go
mockicmp_test.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
mockserver_test.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
multicast_test.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
net_test.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
net.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
newpollserver_rtems.go
packetconn_test.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
parse_test.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
parse.go libgo: Update to current Go library. 2013-11-27 01:05:38 +00:00
pipe_test.go
pipe.go
port_test.go
port_unix.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
port.go
protoconn_test.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
race0.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
race.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
sendfile_dragonfly.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
sendfile_freebsd.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
sendfile_linux.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
sendfile_stub.go
sendfile_windows.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
server_test.go
singleflight.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
sock_bsd.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
sock_cloexec.go
sock_linux.go
sock_plan9.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
sock_posix.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
sock_solaris.go
sock_windows.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
sockopt_bsd.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
sockopt_linux.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
sockopt_posix.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
sockopt_windows.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
sockoptip_bsd.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
sockoptip_linux.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
sockoptip_posix.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
sockoptip_windows.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
sys_cloexec.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
tcp_test.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
tcpsock_plan9.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
tcpsock_posix.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
tcpsock.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
tcpsockopt_darwin.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
tcpsockopt_openbsd.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
tcpsockopt_posix.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
tcpsockopt_unix.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
tcpsockopt_windows.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
timeout_test.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
udp_test.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
udpsock_plan9.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
udpsock_posix.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
udpsock.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
unicast_posix_test.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
unix_test.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
unixsock_plan9.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
unixsock_posix.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00
unixsock.go libgo: Update to October 24 version of master library. 2013-11-06 19:49:01 +00:00