tailcfg, control/controlclient: add PingRequest.URLIsNoise [capver 38]
Change-Id: I19bb63b6d99e96b2f9fd2c440afcc31d38137ded Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
b33c337baa
commit
90555c5cb2
+6
-1
@@ -72,7 +72,8 @@ type CapabilityVersion int
|
||||
// 34: 2022-08-02: client understands CapabilityFileSharingTarget
|
||||
// 36: 2022-08-02: added PeersChangedPatch.{Key,DiscoKey,Online,LastSeen,KeyExpiry,Capabilities}
|
||||
// 37: 2022-08-09: added Debug.{SetForceBackgroundSTUN,SetRandomizeClientPort}; Debug are sticky
|
||||
const CurrentCapabilityVersion CapabilityVersion = 37
|
||||
// 38: 2022-08-11: added PingRequest.URLIsNoise
|
||||
const CurrentCapabilityVersion CapabilityVersion = 38
|
||||
|
||||
type StableID string
|
||||
|
||||
@@ -1151,6 +1152,10 @@ type PingRequest struct {
|
||||
// If Types and IP are defined, then URL is the URL to send a POST request to.
|
||||
URL string
|
||||
|
||||
// URLIsNoise, if true, means that the client should hit URL over the Noise
|
||||
// transport instead of TLS.
|
||||
URLIsNoise bool `json:",omitempty"`
|
||||
|
||||
// Log is whether to log about this ping in the success case.
|
||||
// For failure cases, the client will log regardless.
|
||||
Log bool `json:",omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user