summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs/controlknobs_test.go
diff options
context:
space:
mode:
authorAndrew Lytvynov <awly@tailscale.com>2024-04-22 09:27:12 -0700
committerGitHub <noreply@github.com>2024-04-22 10:27:12 -0600
commitb743b85dad8c96f453834fbbaf2d87aa094da46e (patch)
treeebeb8d7ceae8cc0a001458e389b5be83a66e08cc /control/controlknobs/controlknobs_test.go
parent5100bdeba723728e03722d6a30b5dac4bd860b01 (diff)
downloadtailscale-b743b85dad8c96f453834fbbaf2d87aa094da46e.tar.xz
tailscale-b743b85dad8c96f453834fbbaf2d87aa094da46e.zip
ipn/ipnlocal,ssh/tailssh: reject c2n /update if SSH conns are active (#11820)
Since we already track active SSH connections, it's not hard to proactively reject updates until those finish. We attempt to do the same on the control side, but the detection latency for new connections is in the minutes, which is not fast enough for common short sessions. Handle a `force=true` query parameter to override this behavior, so that control can still trigger an update on a server where some long-running abandoned SSH session is open. Updates https://github.com/tailscale/corp/issues/18556 Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs_test.go')
0 files changed, 0 insertions, 0 deletions