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/dnscache
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>
3 years ago
..
dnscache.go net/dnscache: do not call LookupIPFallback if the context was canceled. 3 years ago
dnscache_test.go net/dnscache: don't do bootstrap DNS lookup after most failed dials 3 years ago
messagecache.go all: use any instead of interface{} 3 years ago
messagecache_test.go all: use any instead of interface{} 3 years ago