summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@tailscale.com>2024-11-14 09:44:16 -0800
committerBrad Fitzpatrick <brad@danga.com>2024-11-14 12:12:16 -0800
commit8fd471ce5748d2129dba584b4fa14b0d29229299 (patch)
treec50ba5d7fe4ddb20dea5fc83e3eb9848bb43ade3 /control/controlhttp/controlhttpserver
parente73cfd9700095406d7263c855bc47801f7e0a2da (diff)
downloadtailscale-8fd471ce5748d2129dba584b4fa14b0d29229299.tar.xz
tailscale-8fd471ce5748d2129dba584b4fa14b0d29229299.zip
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>
Diffstat (limited to 'control/controlhttp/controlhttpserver')
0 files changed, 0 insertions, 0 deletions