tailscale/net/tsdial
Maisem Ali 85de580455 net/tsdial: do not use proxies when dialing out to PeerAPI
Found this when adding a test that does a ping over PeerAPI.

Our integration tests set up a trafficTrap to ensure that tailscaled
does not call out to the internet, and it does so via a HTTP_PROXY.

When adding a test for pings over PeerAPI, it triggered the trap and investigation
lead to the realization that we were not removing the Proxy when trying to
dial out to the PeerAPI.

Updates tailscale/corp#8020

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2023-04-19 15:51:44 -07:00
..
dnsmap_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
dnsmap.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
dohclient_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
dohclient.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
peerapi_macios_ext.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tsdial.go net/tsdial: do not use proxies when dialing out to PeerAPI 2023-04-19 15:51:44 -07:00