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
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>
4 years ago
..
derphttp derp: support client->server ping (and server->client pong) 4 years ago
testdata derp: add debug traffic handler 5 years ago
wsconn cmd/derper, derp/derphttp: add websocket support 4 years ago
derp.go derp: add new health update and server restarting frame types 4 years ago
derp_client.go derp: support client->server ping (and server->client pong) 4 years ago
derp_server.go derp: support client->server ping (and server->client pong) 4 years ago
derp_test.go derp: support client->server ping (and server->client pong) 4 years ago
dropreason_string.go derp: accept dup clients without closing prior's connection 4 years ago