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/derp
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
..
derphttp net/wsconn: add back custom wrapper for turning a websocket.Conn into a net.Conn 2 years ago
testdata derp: add debug traffic handler 3 years ago
derp.go refactor: move from io/ioutil to io and os packages 2 years ago
derp_client.go all: use syncs.AtomicValue 2 years ago
derp_server.go derp: add TCP RTT metric on Linux (#5949) 2 years ago
derp_server_default.go derp: add TCP RTT metric on Linux (#5949) 2 years ago
derp_server_linux.go derp: add TCP RTT metric on Linux (#5949) 2 years ago
derp_test.go all: fix spelling mistakes 2 years ago
dropreason_string.go derp: accept dup clients without closing prior's connection 3 years ago