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/control/controlclient
Brad Fitzpatrick 8fd471ce57 control/controlclient: disable https on for http://localhost:$port URLs
Previously we required the program to be running in a test or have
TS_CONTROL_IS_PLAINTEXT_HTTP before we disabled its https fallback
on "http" schema control URLs to localhost with ports.

But nobody accidentally does all three of "http", explicit port
number, localhost and doesn't mean it. And when they mean it, they're
testing a localhost dev control server (like I was) and don't want 443
getting involved.

As of the changes for #13597, this became more annoying in that we
were trying to use a port which wasn't even available.

Updates #13597

Change-Id: Icd00bca56043d2da58ab31de7aa05a3b269c490f
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 weeks ago
..
auto.go control/controlclient: delete unused Client.Login Oauth2Token field 6 months ago
client.go control/controlclient: delete unused Client.Login Oauth2Token field 6 months ago
controlclient_test.go all: use Go 1.22 range-over-int 7 months ago
direct.go control/controlclient: include HTTP status string in error message too 2 months ago
direct_test.go tka: test SigCredential signatures and netmap filtering 5 months ago
map.go all: use new Go 1.23 slices.Sorted more 3 months ago
map_test.go all: use Go 1.22 range-over-int 7 months ago
noise.go control/controlclient: disable https on for http://localhost:$port URLs 2 weeks ago
noise_test.go control/controlhttp/controlhttpserver: split out Accept to its own package 2 weeks ago
sign.go all: update copyright and license headers 2 years ago
sign_supported.go control/controlclient,posture,util/syspolicy: use predefined syspolicy keys instead of string literals 3 months ago
sign_supported_test.go all: update copyright and license headers 2 years ago
sign_unsupported.go control/controlclient: support certstore without cgo 1 year ago
status.go all: implement AppendText alongside MarshalText (#9207) 1 year ago