mirror of https://github.com/tailscale/tailscale/
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>pull/4284/head
parent
8294915780
commit
b45bb577a0
Loading…
Reference in New Issue