1
0
mirror of https://github.com/golang/go synced 2024-11-20 04:44:40 -07:00
go/src/net
Dmitry Vyukov 8bc30e0733 net/http: fix goroutine leak in benchmark
Race builders report goroutine leaks after addition of this benchmark:
http://build.golang.org/log/18e47f4cbc18ee8db125e1f1157573dd1e333c41
Close idle connection in default transport.

Change-Id: I86ff7b2e0972ed47c5ebcb9fce19e7f39d3ff530
Reviewed-on: https://go-review.googlesource.com/3412
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-01-28 13:42:12 +00:00
..
http net/http: fix goroutine leak in benchmark 2015-01-28 13:42:12 +00:00
mail net/mail: allow us-ascii encoding 2014-09-16 17:40:33 -04:00
rpc net/rpc: fix mutex comment 2014-10-13 10:27:51 -07:00
smtp net/smtp: add TLSConnectionState accessor 2014-12-28 21:35:58 +00:00
testdata
textproto net/textproto: turn an ancient DoS BUG annotation into a comment 2014-12-16 04:17:30 +00:00
url net/url: add example of using URL.Opaque with http.Request 2014-11-12 14:27:27 -08:00
cgo_android.go
cgo_bsd.go
cgo_linux.go
cgo_netbsd.go
cgo_openbsd.go
cgo_stub.go
cgo_unix_test.go
cgo_unix.go
conn_test.go
dial_gen_test.go
dial_gen.go
dial_test.go net: disable TestDialMultiFDLeak 2014-09-18 14:48:26 -04:00
dial.go
dialgoogle_test.go
dnsclient_test.go
dnsclient_unix_test.go net: fix some typos in comments 2015-01-15 22:59:04 +00:00
dnsclient_unix.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
dnsclient.go net: simplify itoa conversions 2015-01-22 13:01:28 +00:00
dnsconfig_unix_test.go
dnsconfig_unix.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
dnsmsg_test.go
dnsmsg.go
dnsname_test.go
example_test.go
fd_mutex_test.go
fd_mutex.go
fd_plan9.go
fd_poll_nacl.go
fd_poll_runtime.go
fd_posix_test.go net: don't return io.EOF on reading data from datagram, raw sockets on windows 2015-01-01 05:21:32 +00:00
fd_posix.go net: don't return io.EOF on reading data from datagram, raw sockets on windows 2015-01-01 05:21:32 +00:00
fd_unix.go net: don't return io.EOF on reading data from datagram, raw sockets on windows 2015-01-01 05:21:32 +00:00
fd_windows.go net: don't return io.EOF on reading data from datagram, raw sockets on windows 2015-01-01 05:21:32 +00:00
file_plan9.go
file_stub.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
file_test.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
file_unix.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
file_windows.go
hosts_test.go
hosts.go
interface_bsd_test.go
interface_bsd.go
interface_darwin.go
interface_dragonfly.go
interface_freebsd.go
interface_linux_test.go
interface_linux.go
interface_netbsd.go
interface_openbsd.go
interface_stub.go
interface_test.go net: update test cases for network interface API 2015-01-28 03:39:20 +00:00
interface_unix_test.go
interface_windows.go
interface.go
ip_test.go net: add test cases for parsing ipv4-mapped ipv6 address 2015-01-04 10:28:00 +00:00
ip.go net: simplify itoa conversions 2015-01-22 13:01:28 +00:00
ipraw_test.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
iprawsock_plan9.go
iprawsock_posix.go net: more accurate parsing of IPv4 header on IPConn 2015-01-19 03:20:59 +00:00
iprawsock.go
ipsock_plan9.go
ipsock_posix.go
ipsock_test.go
ipsock.go net: simplify itoa conversions 2015-01-22 13:01:28 +00:00
lookup_plan9.go
lookup_stub.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
lookup_test.go net: remove redundant test case for lookupIP with threadLimit 2015-01-01 05:20:16 +00:00
lookup_unix.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
lookup_windows_test.go
lookup_windows.go
lookup.go net: if a DNS lookup times out, forget that it is in flight 2014-10-27 08:46:18 -07:00
mac_test.go
mac.go
mockicmp_test.go
mockserver_test.go
multicast_test.go
net_test.go
net_windows_test.go
net.go net: fix misleading package comment example 2014-09-29 12:24:06 -07:00
netgo_unix_test.go
packetconn_test.go
parse_test.go
parse.go net: simplify itoa conversions 2015-01-22 13:01:28 +00:00
pipe_test.go
pipe.go
port_test.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
port_unix.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
port.go
protoconn_test.go
race0.go
race.go
sendfile_dragonfly.go
sendfile_freebsd.go
sendfile_linux.go
sendfile_stub.go
sendfile_windows.go
server_test.go
singleflight.go net: if a DNS lookup times out, forget that it is in flight 2014-10-27 08:46:18 -07:00
sock_bsd.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
sock_cloexec.go
sock_linux.go
sock_plan9.go
sock_posix.go
sock_stub.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
sock_windows.go
sockopt_bsd.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
sockopt_linux.go
sockopt_plan9.go
sockopt_posix.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
sockopt_solaris.go
sockopt_stub.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
sockopt_windows.go
sockoptip_bsd.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
sockoptip_linux.go
sockoptip_posix.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
sockoptip_stub.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
sockoptip_windows.go
sys_cloexec.go
tcp_test.go
tcpsock_plan9.go
tcpsock_posix.go
tcpsock.go
tcpsockopt_darwin.go net: fix inconsistent behavior across platforms in SetKeepAlivePeriod 2014-09-11 17:56:58 +09:00
tcpsockopt_dragonfly.go net: fix inconsistent behavior across platforms in SetKeepAlivePeriod 2014-09-11 17:56:58 +09:00
tcpsockopt_openbsd.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
tcpsockopt_plan9.go
tcpsockopt_posix.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
tcpsockopt_stub.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
tcpsockopt_unix.go net: fix inconsistent behavior across platforms in SetKeepAlivePeriod 2014-09-11 17:56:58 +09:00
tcpsockopt_windows.go net: fix inconsistent behavior across platforms in SetKeepAlivePeriod 2014-09-11 17:56:58 +09:00
timeout_test.go
udp_test.go net: link skipped TestReadFromUDP to the issue 2014-10-10 13:12:32 +11:00
udpsock_plan9.go
udpsock_posix.go
udpsock.go
unicast_posix_test.go net: disable TestDualStackUDPListener in short mode 2014-10-06 13:09:14 -04:00
unix_test.go
unixsock_plan9.go
unixsock_posix.go
unixsock.go