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 9d04ffc782 net/wsconn: add back custom wrapper for turning a websocket.Conn into a net.Conn
We removed it in #4806 in favor of the built-in functionality from the
nhooyr.io/websocket package. However, it has an issue with deadlines
that has not been fixed yet (see nhooyr/websocket#350). Temporarily
go back to using a custom wrapper (using the fix from our fork) so that
derpers will stop closing connections too aggressively.

Updates #5921

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
2 years ago
..
client.go control/controlhttp: allow setting, getting Upgrade headers in Noise upgrade 2 years ago
client_common.go control/controlhttp: allow setting, getting Upgrade headers in Noise upgrade 2 years ago
client_js.go net/wsconn: add back custom wrapper for turning a websocket.Conn into a net.Conn 2 years ago
constants.go tailcfg, control/controlhttp, control/controlclient: add ControlDialPlan field (#5648) 2 years ago
http_test.go control/controlhttp: allow setting, getting Upgrade headers in Noise upgrade 2 years ago
server.go net/wsconn: add back custom wrapper for turning a websocket.Conn into a net.Conn 2 years ago