mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-28 23:05:09 +00:00
net/ace, control/controlhttp: start adding ACE dialing support
Updates tailscale/corp#32227 Change-Id: I38afc668f99eb1d6f7632e82554b82922f3ebb9f Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
b9cda4bca5
commit
ecfdd86fc9
@@ -2264,7 +2264,14 @@ type ControlDialPlan struct {
|
||||
// connecting to the control server.
|
||||
type ControlIPCandidate struct {
|
||||
// IP is the address to attempt connecting to.
|
||||
IP netip.Addr
|
||||
IP netip.Addr `json:",omitzero"`
|
||||
|
||||
// ACEHost, if non-empty, means that the client should connect to the
|
||||
// control plane using an HTTPS CONNECT request to the provided hostname. If
|
||||
// the IP field is also set, then the IP is the IP address of the ACEHost
|
||||
// (and not the control plane) and DNS should not be used. The target (the
|
||||
// argument to CONNECT) is always the control plane's hostname, not an IP.
|
||||
ACEHost string `json:",omitempty"`
|
||||
|
||||
// DialStartSec is the number of seconds after the beginning of the
|
||||
// connection process to wait before trying this candidate.
|
||||
|
||||
Reference in New Issue
Block a user