go/src/net
Paul Marks 92dfc12610 net: slowDialTCP should wait forever if no deadline exists.
This allows TestDialerFallbackDelay to pass again on machines where IPv6
connections to nowhere fail quickly instead of hanging.

This bug appeared last month, when I deleted the slowTimeout constant.

Updates #11225
Fixes #14731

Change-Id: I840011eee571aab1041022411541736111c7fad5
Reviewed-on: https://go-review.googlesource.com/20493
Run-TryBot: Paul Marks <pmarks@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com>
2016-03-10 15:24:44 +00:00
..
http net/http/httptest: record trailing headers in ResponseRecorder 2016-03-08 19:30:38 +00:00
internal/socktest net/internal/socktest: add missing support for AcceptEx 2016-02-21 03:09:25 +00:00
mail
rpc all: single space after period. 2016-03-02 00:13:47 +00:00
smtp all: single space after period. 2016-03-02 00:13:47 +00:00
testdata
textproto all: single space after period. 2016-03-02 00:13:47 +00:00
url net/url: fix parsing of URLs ending in question mark 2016-03-02 03:05:18 +00:00
addrselect.go all: single space after period. 2016-03-02 00:13:47 +00:00
addrselect_test.go
cgo_android.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
cgo_bsd.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
cgo_linux.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
cgo_netbsd.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
cgo_openbsd.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
cgo_resnew.go
cgo_resold.go
cgo_socknew.go
cgo_sockold.go
cgo_solaris.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
cgo_stub.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
cgo_unix.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
cgo_unix_test.go
cgo_windows.go
conf.go all: single space after period. 2016-03-02 00:13:47 +00:00
conf_netcgo.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
conf_test.go
conn_test.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
dial.go net: deduplicate TCP socket code 2016-03-03 04:23:59 +00:00
dial_gen.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
dial_test.go net: slowDialTCP should wait forever if no deadline exists. 2016-03-10 15:24:44 +00:00
dnsclient.go all: single space after period. 2016-03-02 00:13:47 +00:00
dnsclient_test.go
dnsclient_unix.go net: fix race in (*resolverConfig).tryUpdate 2016-02-20 10:03:47 +00:00
dnsclient_unix_test.go net: make TestGoLookupIPWithResolverConfig robust 2016-02-25 03:12:59 +00:00
dnsconfig_unix.go all: single space after period. 2016-03-02 00:13:47 +00:00
dnsconfig_unix_test.go net: fix race in (*resolverConfig).tryUpdate 2016-02-20 10:03:47 +00:00
dnsmsg.go all: single space after period. 2016-03-02 00:13:47 +00:00
dnsmsg_test.go net: fix vet warnings 2016-03-02 16:26:36 +00:00
dnsname_test.go
error_plan9_test.go net: add missing aborted connection handling on accept test 2016-02-21 03:32:36 +00:00
error_posix_test.go net: add missing aborted connection handling on accept test 2016-02-21 03:32:36 +00:00
error_test.go net: deduplicate TCP socket code 2016-03-03 04:23:59 +00:00
error_unix_test.go net: add missing aborted connection handling on accept test 2016-02-21 03:32:36 +00:00
error_windows_test.go net: add missing aborted connection handling on accept test 2016-02-21 03:32:36 +00:00
example_test.go
external_test.go
fd_mutex.go
fd_mutex_test.go
fd_plan9.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
fd_poll_nacl.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
fd_poll_runtime.go net: fix for DialTimeout errors with large timeout 2016-02-23 22:48:04 +00:00
fd_posix.go
fd_posix_test.go
fd_unix.go all: single space after period. 2016-03-02 00:13:47 +00:00
fd_windows.go net: add missing aborted connection handling on accept test 2016-02-21 03:32:36 +00:00
file.go
file_plan9.go
file_stub.go
file_test.go
file_unix.go
file_windows.go
hook.go net: fix build 2015-12-17 16:06:58 +00:00
hook_cloexec.go
hook_plan9.go
hook_unix.go net: fix the build even harder 2015-12-17 18:43:12 +00:00
hook_windows.go net: add missing aborted connection handling on accept test 2016-02-21 03:32:36 +00:00
hosts.go net: ensure lookupStatic* returns copy of slice to disallow cache corruption. 2016-02-21 16:36:56 +00:00
hosts_test.go net: ensure lookupStatic* returns copy of slice to disallow cache corruption. 2016-02-21 16:36:56 +00:00
interface.go all: single space after period. 2016-03-02 00:13:47 +00:00
interface_bsd.go all: single space after period. 2016-03-02 00:13:47 +00:00
interface_bsd_test.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
interface_darwin.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
interface_dragonfly.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
interface_freebsd.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
interface_linux.go all: single space after period. 2016-03-02 00:13:47 +00:00
interface_linux_test.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
interface_netbsd.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
interface_openbsd.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
interface_stub.go all: single space after period. 2016-03-02 00:13:47 +00:00
interface_test.go all: single space after period. 2016-03-02 00:13:47 +00:00
interface_unix_test.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
interface_windows.go all: single space after period. 2016-03-02 00:13:47 +00:00
interface_windows_test.go
ip.go all: single space after period. 2016-03-02 00:13:47 +00:00
ip_test.go all: fix typos and spelling 2016-02-24 18:42:29 +00:00
iprawsock.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
iprawsock_plan9.go all: single space after period. 2016-03-02 00:13:47 +00:00
iprawsock_posix.go net: deduplicate TCP socket code 2016-03-03 04:23:59 +00:00
iprawsock_test.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
ipsock.go all: single space after period. 2016-03-02 00:13:47 +00:00
ipsock_plan9.go net: deduplicate TCP socket code 2016-03-03 04:23:59 +00:00
ipsock_posix.go all: single space after period. 2016-03-02 00:13:47 +00:00
ipsock_test.go
listen_test.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
lookup.go all: single space after period. 2016-03-02 00:13:47 +00:00
lookup_plan9.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
lookup_stub.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
lookup_test.go net: skip TestLookupPort on android with netgo 2016-03-03 02:52:18 +00:00
lookup_unix.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
lookup_windows.go net: LookupAddr("127.0.0.1") is "localhost" not "localhost." on Plan 9 and Windows 2016-01-13 14:02:22 +00:00
lookup_windows_test.go net: LookupAddr("127.0.0.1") is "localhost" not "localhost." on Plan 9 and Windows 2016-01-13 14:02:22 +00:00
mac.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
mac_test.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
main_cloexec_test.go
main_conf_test.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
main_noconf_test.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
main_plan9_test.go
main_posix_test.go
main_test.go
main_unix_test.go
main_windows_test.go net: add missing aborted connection handling on accept test 2016-02-21 03:32:36 +00:00
mockserver_test.go net: make newLocalListener handle network argument correcly 2016-02-21 02:55:23 +00:00
net.go all: single space after period. 2016-03-02 00:13:47 +00:00
net_test.go net: add missing aborted connection handling on accept test 2016-02-21 03:32:36 +00:00
net_windows_test.go net: fix vet warnings 2016-03-02 16:26:36 +00:00
netgo_unix_test.go
nss.go
nss_test.go
packetconn_test.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
parse.go net: check /etc/hosts for modifications every 5 seconds, not 5 minutes 2016-01-06 21:42:19 +00:00
parse_test.go
pipe.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
pipe_test.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
platform_test.go
port_unix.go
protoconn_test.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
sendfile_dragonfly.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
sendfile_freebsd.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
sendfile_linux.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
sendfile_solaris.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
sendfile_stub.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
sendfile_windows.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
server_test.go
sock_bsd.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
sock_cloexec.go
sock_linux.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
sock_plan9.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
sock_posix.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
sock_stub.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
sock_windows.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
sockopt_bsd.go all: single space after period. 2016-03-02 00:13:47 +00:00
sockopt_linux.go all: single space after period. 2016-03-02 00:13:47 +00:00
sockopt_plan9.go net: deduplicate TCP socket code 2016-03-03 04:23:59 +00:00
sockopt_posix.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
sockopt_solaris.go all: single space after period. 2016-03-02 00:13:47 +00:00
sockopt_stub.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
sockopt_windows.go all: single space after period. 2016-03-02 00:13:47 +00:00
sockoptip_bsd.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
sockoptip_linux.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
sockoptip_posix.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
sockoptip_stub.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
sockoptip_windows.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
sys_cloexec.go
tcpsock.go net: deduplicate TCP socket code 2016-03-03 04:23:59 +00:00
tcpsock_plan9.go net: deduplicate TCP socket code 2016-03-03 04:23:59 +00:00
tcpsock_posix.go net: deduplicate TCP socket code 2016-03-03 04:23:59 +00:00
tcpsock_test.go net: rename test files 2016-02-24 03:07:58 +00:00
tcpsockopt_darwin.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
tcpsockopt_dragonfly.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
tcpsockopt_openbsd.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
tcpsockopt_plan9.go net: deduplicate TCP socket code 2016-03-03 04:23:59 +00:00
tcpsockopt_posix.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
tcpsockopt_solaris.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
tcpsockopt_stub.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
tcpsockopt_unix.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
tcpsockopt_windows.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
timeout_test.go net: fix for DialTimeout errors with large timeout 2016-02-23 22:48:04 +00:00
udpsock.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
udpsock_plan9.go net: deduplicate TCP socket code 2016-03-03 04:23:59 +00:00
udpsock_posix.go net: deduplicate TCP socket code 2016-03-03 04:23:59 +00:00
udpsock_test.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
unixsock.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
unixsock_plan9.go all: single space after period. 2016-03-02 00:13:47 +00:00
unixsock_posix.go net: deduplicate TCP socket code 2016-03-03 04:23:59 +00:00
unixsock_test.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00