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/controlhttp
Mihai Parparita 2990c2b1cf control/controlhttp: use secure WebSockets protocol by default
Forcing the insecure protocol (and perserving the port number) is only
desired for localhost testing, in prod we need to use wss:// to avoid
mixed-content errors.

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
2 years ago
..
client.go control/controlhttp: allow client and server to communicate over WebSockets 3 years ago
client_js.go control/controlhttp: use secure WebSockets protocol by default 2 years ago
constants.go control/controlhttp: allow client and server to communicate over WebSockets 3 years ago
http_test.go control/controlhttp: don't assume port 80 upgrade response will work 3 years ago
server.go net/wsconn: remove homegrown wrapper for turning a websocket.Conn into a net.Conn 3 years ago