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 78dec82736 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

Change-Id: I1597644e8ba47b413e33f2201eab935145566c0e
Signed-off-by: Mihai Parparita <mihai@tailscale.com>
(cherry picked from commit 9d04ffc782)
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 refactor: move from io/ioutil to io and os packages 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