mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-18 02:48:40 +00:00
tailcfg: document new OmitPeers endpoint updating functionality
This commit is contained in:
parent
fa412c8760
commit
da1bad51cd
@ -500,6 +500,10 @@ type MapRequest struct {
|
|||||||
// OmitPeers is whether the client is okay with the Peers list
|
// OmitPeers is whether the client is okay with the Peers list
|
||||||
// being omitted in the response. (For example, a client on
|
// being omitted in the response. (For example, a client on
|
||||||
// start up using ReadOnly to get the DERP map.)
|
// start up using ReadOnly to get the DERP map.)
|
||||||
|
//
|
||||||
|
// If OmitPeers is true, Stream is false, and ReadOnly is false,
|
||||||
|
// then the server will let clients update their endpoints without
|
||||||
|
// breaking existing long-polling (Stream == true) connections.
|
||||||
OmitPeers bool `json:",omitempty"`
|
OmitPeers bool `json:",omitempty"`
|
||||||
|
|
||||||
// DebugFlags is a list of strings specifying debugging and
|
// DebugFlags is a list of strings specifying debugging and
|
||||||
|
Loading…
x
Reference in New Issue
Block a user