mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-25 11:11:18 -08:00
Run a connection monitor that pings the SSH client when session is recorded. If the pings fail consecutively, close the recording and then cancel the connection. This is one way to ensure that session records get flushed promptly when using S3 multi-part upload. Timeouts and consecutive failure threshold are hardcoded because this is just an experiment. Fixes tailscale.com/corp#33968 Signed-off-by: Gesa Stupperich <[email protected]>