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 a9f32656f5 control/controlhttp: allow client and server to communicate over WebSockets
We can't do Noise-over-HTTP in Wasm/JS (because we don't have bidirectional
communication), but we should be able to do it over WebSockets. Reuses
derp WebSocket support that allows us to turn a WebSocket connection
into a net.Conn.

Updates #3157

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
2 years ago
..
client.go control/controlhttp: allow client and server to communicate over WebSockets 2 years ago
client_js.go control/controlhttp: allow client and server to communicate over WebSockets 2 years ago
constants.go control/controlhttp: allow client and server to communicate over WebSockets 2 years ago
http_test.go control/controlhttp: don't assume port 80 upgrade response will work 3 years ago
server.go control/controlhttp: allow client and server to communicate over WebSockets 2 years ago