mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-22 02:50:42 +00:00
tailcfg, control/controlclient: clarify more, enforce PingRequest.URL is unique
Updates #2079 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
@@ -880,6 +880,9 @@ type DNSConfig struct {
|
||||
type PingRequest struct {
|
||||
// URL is the URL to send a HEAD request to.
|
||||
// It will be a unique URL each time. No auth headers are necessary.
|
||||
//
|
||||
// If the client sees multiple PingRequests with the same URL,
|
||||
// subsequent ones should be ignored.
|
||||
URL string
|
||||
|
||||
// Log is whether to log about this ping in the success case.
|
||||
|
Reference in New Issue
Block a user