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)
2022-10-21 08:16:18 -07:00
..
derphttp net/wsconn: add back custom wrapper for turning a websocket.Conn into a net.Conn 2022-10-21 08:16:18 -07:00
testdata derp: add debug traffic handler 2021-06-18 15:47:55 -07:00
derp.go refactor: move from io/ioutil to io and os packages 2022-09-15 21:45:53 -07:00
derp_client.go all: use syncs.AtomicValue 2022-08-04 11:52:16 -07:00
derp_server.go refactor: move from io/ioutil to io and os packages 2022-09-15 21:45:53 -07:00
derp_test.go all: fix spelling mistakes 2022-09-29 13:36:13 -07:00
dropreason_string.go derp: accept dup clients without closing prior's connection 2021-08-31 08:21:21 -07:00