mirror of https://github.com/tailscale/tailscale/
net/dns/resolver: use SystemDial in DoH forwarder
This ensures that we close the underlying connection(s) when a major link change happens. If we don't do this, on mobile platforms switching between WiFi and cellular can result in leftover connections in the http.Client's connection pool which are bound to the "wrong" interface. Updates #10821 Updates tailscale/corp#19124 Signed-off-by: Andrew Dunham <andrew@du.nham.ca> Change-Id: Ibd51ce2efcaf4bd68e14f6fdeded61d4e99f9a01dsnet/logtail-buffer2
parent
82394debb7
commit
b85c2b2313
Loading…
Reference in New Issue