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>
2022-06-02 21:20:54 -07:00
..
client_js.go control/controlhttp: allow client and server to communicate over WebSockets 2022-06-02 21:20:54 -07:00
client.go control/controlhttp: allow client and server to communicate over WebSockets 2022-06-02 21:20:54 -07:00
constants.go control/controlhttp: allow client and server to communicate over WebSockets 2022-06-02 21:20:54 -07:00
http_test.go control/controlhttp: don't assume port 80 upgrade response will work 2022-04-28 09:14:41 -07:00
server.go control/controlhttp: allow client and server to communicate over WebSockets 2022-06-02 21:20:54 -07:00