tailscale/derp/derphttp
Brad Fitzpatrick 434af15a04 derp: support client->server ping (and server->client pong)
In prep for a future change to have client ping derp connections
when their state is questionable, rather than aggressively tearing
them down and doing a heavy reconnect when their state is unknown.

We already support ping/pong in the other direction (servers probing
clients) so we already had the two frame types, but I'd never finished
this direction.

Updates #3619

Change-Id: I024b815d9db1bc57c20f82f80f95fb55fc9e2fcc
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-12-27 14:49:50 -08:00
..
derphttp_client.go derp: support client->server ping (and server->client pong) 2021-12-27 14:49:50 -08:00
derphttp_server.go derp: use new node key type. 2021-10-28 16:02:11 -07:00
derphttp_test.go derp: use new node key type. 2021-10-28 16:02:11 -07:00
mesh_client.go derp: use new node key type. 2021-10-28 16:02:11 -07:00
websocket.go cmd/derper, derp/derphttp: add websocket support 2021-10-22 12:51:30 -07:00