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>
2022-03-24 22:43:01 -07:00
..
dnscache_test.go net/dnscache: don't do bootstrap DNS lookup after most failed dials 2022-02-14 14:28:08 -08:00
dnscache.go net/dnscache: do not call LookupIPFallback if the context was canceled. 2022-03-24 22:43:01 -07:00
messagecache_test.go all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
messagecache.go all: use any instead of interface{} 2022-03-17 11:35:09 -07:00