You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net
Maisem Ali b45bb577a0 net/dnscache: do not call LookupIPFallback if the context was canceled.
When the context is canceled, dc.dialOne returns an error from line 345.
This causes the defer on line 312 to try to resolve the host again, which
triggers a dns lookup of "127.0.0.1" from derp.

Updates tailscale/corp#4475

Signed-off-by: Maisem Ali <maisem@tailscale.com>
4 years ago
..
dns all: use strings.Cut even more 4 years ago
dnscache net/dnscache: do not call LookupIPFallback if the context was canceled. 4 years ago
dnsfallback .github/workflows: work around golang/go#51629 4 years ago
flowtrack all: use any instead of interface{} 4 years ago
interfaces net/interfaces: add FreeBSD default route lookup (portmapping, etc) 4 years ago
netcheck all: use any instead of interface{} 4 years ago
neterror net/{neterror,dns/resolver}: move PacketWasTruncated to neterror from DNS code 4 years ago
netknob all: disable TCP keep-alives on iOS/Android 4 years ago
netns net/netns: remove a useless probe of the "ip" command 4 years ago
netstat all: gofmt with Go 1.17 4 years ago
nettest net/nettest: deflake TestPipeTimeout 4 years ago
netutil net/netutil: move some net utils from control/controlhttp to netutil 4 years ago
packet wgengine/netstack: clear TCP ECN bits before giving to gvisor 4 years ago
portmapper all: use any instead of interface{} 4 years ago
proxymux net/proxymux: add a listener mux that can run SOCKS and HTTP on a single socket. 4 years ago
socks5 all: use any instead of interface{} 4 years ago
speedtest all: fix spelling mistakes 4 years ago
stun all: gofmt with Go 1.17 4 years ago
tlsdial envknob: add new package for all the strconv.ParseBool(os.Getenv(..)) 4 years ago
tsaddr net/tsaddr: add func ContainsExitRoutes 4 years ago
tsdial net/dnscache, net/tsdial: add DNS caching to tsdial UserDial 4 years ago
tshttpproxy net/tshttpproxy: ensure we pass the correct flags to WinHttpOpen on Win7 and Win8.0 4 years ago
tstun wgengine: inject packetbuffers rather than bytes (#4220) 4 years ago