ssh/tailssh, ipnlocal, controlclient: fetch next SSHAction from network
Updates #3802 Change-Id: I08e98805ab86d6bbabb6c365ed4526f54742fd8e Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
6b11004a2a
commit
efc48b0578
+8
-4
@@ -1615,10 +1615,14 @@ type SSHAction struct {
|
||||
// before being forcefully terminated.
|
||||
SesssionDuration time.Duration `json:"sessionDuration,omitempty"`
|
||||
|
||||
// HoldAndDelegate, if non-empty, is a URL that serves an outcome verdict.
|
||||
// The connection will be accepted and will block until the
|
||||
// provided long-polling URL serves a new SSHAction JSON
|
||||
// value.
|
||||
// HoldAndDelegate, if non-empty, is a URL that serves an
|
||||
// outcome verdict. The connection will be accepted and will
|
||||
// block until the provided long-polling URL serves a new
|
||||
// SSHAction JSON value. The URL must be fetched using the
|
||||
// Noise transport (in package control/control{base,http}).
|
||||
// If the long poll breaks before returning a complete HTTP
|
||||
// response, it should be re-fetched as long as the SSH
|
||||
// session is open.
|
||||
HoldAndDelegate string `json:"holdAndDelegate,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user