1
0
mirror of https://github.com/golang/go synced 2024-11-24 20:30:14 -07:00
go/src/net
Brad Fitzpatrick 6a208efbdf net/http: make ListenAndServeTLS treat GetCertificate as a set cert too
ListenAndServeTLS doesn't require cert and key file names if the
server's TLSConfig has a cert configured. This code was never updated
when the GetCertificate hook was added to *tls.Config, however.

Fixes #14268

Change-Id: Ib282ebb05697edd37ed8ff105972cbd1176d900b
Reviewed-on: https://go-review.googlesource.com/19381
Reviewed-by: Russ Cox <rsc@golang.org>
2016-02-09 00:17:25 +00:00
..
http net/http: make ListenAndServeTLS treat GetCertificate as a set cert too 2016-02-09 00:17:25 +00:00
internal/socktest net/internal/socktest: simplify log message format 2015-12-22 03:38:51 +00:00
mail
rpc
smtp
testdata
textproto net/textproto: accept multi-line error messages 2016-01-08 16:32:42 +00:00
url net/url: allow spaces in IPv6 zone identifier for Windows 2016-01-26 16:24:06 +00:00
addrselect_test.go
addrselect.go
cgo_android.go
cgo_bsd.go
cgo_linux.go
cgo_netbsd.go
cgo_openbsd.go
cgo_resnew.go
cgo_resold.go
cgo_socknew.go
cgo_sockold.go
cgo_solaris.go
cgo_stub.go
cgo_unix_test.go
cgo_unix.go
cgo_windows.go
conf_netcgo.go
conf_test.go
conf.go
conn_test.go
dial_gen.go
dial_test.go net: retighten test harnesses for dial cancelation 2015-12-16 01:05:47 +00:00
dial.go net: document ":port" syntax in Dial, Listen, ListenPacket 2016-01-07 19:14:43 +00:00
dnsclient_test.go
dnsclient_unix_test.go net: add timeout to DNS requests sent by TestSpecialDomainName 2016-01-19 06:20:36 +00:00
dnsclient_unix.go net: fix the build even harder 2015-12-17 18:43:12 +00:00
dnsclient.go net: stop scanning for domain name once the first label has been found 2016-01-09 03:30:40 +00:00
dnsconfig_unix_test.go
dnsconfig_unix.go
dnsmsg_test.go
dnsmsg.go
dnsname_test.go
error_plan9_test.go
error_posix_test.go
error_test.go net: retighten test harnesses for dial cancelation 2015-12-16 01:05:47 +00:00
example_test.go
external_test.go
fd_mutex_test.go
fd_mutex.go
fd_plan9.go
fd_poll_nacl.go
fd_poll_runtime.go
fd_posix_test.go
fd_posix.go
fd_unix.go net: add Dialer.Cancel to cancel pending dials 2015-12-15 21:15:15 +00:00
fd_windows.go net: make windows (*netFD).connect work like its unix version 2015-12-16 23:51:38 +00:00
file_plan9.go
file_stub.go
file_test.go net: add missing File{Conn,Listener,PacketConn} read/write tests 2015-12-14 03:14:53 +00:00
file_unix.go net: do not unlink unix socket in UnixListener created from fd 2015-12-11 04:43:44 +00:00
file_windows.go
file.go
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
hook.go net: fix build 2015-12-17 16:06:58 +00:00
hosts_test.go
hosts.go net: check /etc/hosts for modifications every 5 seconds, not 5 minutes 2016-01-06 21:42:19 +00:00
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: make use of IPv4 for parsing routing information on windows 2015-12-19 10:00:04 +00:00
interface_unix_test.go
interface_windows_test.go net, internal/syscall/windows: fix interface and address identification on windows 2015-12-10 08:04:07 +00:00
interface_windows.go net: make use of IPv4 for parsing routing information on windows 2015-12-19 10:00:04 +00:00
interface.go
ip_test.go Revert "net: ensure that malformed domain names report a consistent error" 2016-01-08 17:18:00 +00:00
ip.go
ipraw_test.go
iprawsock_plan9.go
iprawsock_posix.go net: add Dialer.Cancel to cancel pending dials 2015-12-15 21:15:15 +00:00
iprawsock.go
ipsock_plan9.go
ipsock_posix.go net: add Dialer.Cancel to cancel pending dials 2015-12-15 21:15:15 +00:00
ipsock_test.go
ipsock.go
listen_test.go
lookup_plan9.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_stub.go
lookup_test.go net: enable TestLookupDotsWithRemoteSource on builders 2016-01-23 10:20:58 +00:00
lookup_unix.go
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
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.go Revert "net: ensure that malformed domain names report a consistent error" 2016-01-08 17:18:00 +00:00
mac_test.go
mac.go
main_cloexec_test.go
main_plan9_test.go
main_posix_test.go
main_test.go
main_unix_test.go
main_windows_test.go
mockserver_test.go
net_test.go net: deflake TestListenerClose 2016-01-29 15:32:31 +00:00
net_windows_test.go net: improve netsh usage in Windows unit tests 2016-01-21 23:01:56 +00:00
net.go net: add Dialer.Cancel to cancel pending dials 2015-12-15 21:15:15 +00:00
netgo_unix_test.go
non_unix_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
nss_test.go
nss.go
packetconn_test.go
parse_test.go
parse.go net: check /etc/hosts for modifications every 5 seconds, not 5 minutes 2016-01-06 21:42:19 +00:00
pipe_test.go
pipe.go
platform_test.go
port_unix.go
protoconn_test.go
sendfile_dragonfly.go
sendfile_freebsd.go
sendfile_linux.go
sendfile_solaris.go net: disable sendfile on Solaris for now 2016-01-11 20:34:12 +00:00
sendfile_stub.go
sendfile_windows.go
server_test.go
sock_bsd.go
sock_cloexec.go
sock_linux.go
sock_plan9.go
sock_posix.go net: add Dialer.Cancel to cancel pending dials 2015-12-15 21:15:15 +00:00
sock_stub.go
sock_windows.go
sockopt_bsd.go
sockopt_linux.go
sockopt_plan9.go
sockopt_posix.go
sockopt_solaris.go
sockopt_stub.go
sockopt_windows.go
sockoptip_bsd.go
sockoptip_linux.go
sockoptip_posix.go
sockoptip_stub.go
sockoptip_windows.go
sys_cloexec.go
tcp_test.go net: fix race in TestTCPStress 2015-12-22 03:39:39 +00:00
tcpsock_plan9.go net: add Dialer.Cancel to cancel pending dials 2015-12-15 21:15:15 +00:00
tcpsock_posix.go net: add Dialer.Cancel to cancel pending dials 2015-12-15 21:15:15 +00:00
tcpsock.go
tcpsockopt_darwin.go
tcpsockopt_dragonfly.go
tcpsockopt_openbsd.go
tcpsockopt_plan9.go
tcpsockopt_posix.go
tcpsockopt_solaris.go
tcpsockopt_stub.go
tcpsockopt_unix.go
tcpsockopt_windows.go
timeout_test.go net: fix timeout test bug 2016-01-06 17:59:46 +00:00
udp_test.go
udpsock_plan9.go
udpsock_posix.go net: add Dialer.Cancel to cancel pending dials 2015-12-15 21:15:15 +00:00
udpsock.go
unix_test.go net: add test for CL 17458 2015-12-14 20:37:42 +00:00
unixsock_plan9.go
unixsock_posix.go net: add Dialer.Cancel to cancel pending dials 2015-12-15 21:15:15 +00:00
unixsock.go