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/tshttpproxy
Maisem Ali eff6a404a6 net/tshttpproxy: use http as the scheme for proxies
Currently we try to use `https://` when we see `https_host`, however
that doesn't work and results in errors like `Received error: fetch
control key: Get "https://controlplane.tailscale.com/key?v=32":
proxyconnect tcp: tls: first record does not look like a TLS handshake`

This indiciates that we are trying to do a HTTPS request to a HTTP
server. Googling suggests that the standard is to use `http` regardless
of `https` or `http` proxy

Updates #4395, #2605

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2 years ago
..
tshttpproxy.go net/tshttpproxy: support HTTP proxy environment credentials on Windows too 3 years ago
tshttpproxy_future.go all: gofmt with Go 1.17 3 years ago
tshttpproxy_linux.go tshttpproxy: support synology proxy configuration 2 years ago
tshttpproxy_synology.go net/tshttpproxy: use http as the scheme for proxies 2 years ago
tshttpproxy_synology_test.go net/tshttpproxy: use http as the scheme for proxies 2 years ago
tshttpproxy_test.go net/tshttpproxy: support HTTP proxy environment credentials on Windows too 3 years ago
tshttpproxy_windows.go net/tshttpproxy: ensure we pass the correct flags to WinHttpOpen on Win7 and Win8.0 2 years ago