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/dns/resolver
Andrew Dunham b85c2b2313 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: Ibd51ce2efcaf4bd68e14f6fdeded61d4e99f9a01
7 months ago
..
debug.go all: use Go 1.22 range-over-int 7 months ago
doh_test.go net/dns/resolver: remove maxDoHInFlight 2 years ago
forwarder.go net/dns/resolver: use SystemDial in DoH forwarder 7 months ago
forwarder_test.go all: use Go 1.22 range-over-int 7 months ago
macios_ext.go all: avoid repeated default interface lookups 2 years ago
tsdns.go all: cleanup unused code, part 2 (#10670) 11 months ago
tsdns_server_test.go all: update copyright and license headers 2 years ago
tsdns_test.go all: use Go 1.22 range-over-int 7 months ago