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