summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorPercy Wegmann <percy@tailscale.com>2025-07-01 09:03:54 -0500
committerPercy Wegmann <ox.to.a.cart@gmail.com>2025-07-01 10:59:58 -0500
commit454d856be853c713e5e916f13f75cf183de2c94e (patch)
treedfcba715b1576a1dba48ffb63434fb8ba421d711 /control/controlhttp/controlhttpserver/controlhttpserver.go
parent6a9bf9172b6fa6dc645b5ea960b98014f389533d (diff)
downloadtailscale-454d856be853c713e5e916f13f75cf183de2c94e.tar.xz
tailscale-454d856be853c713e5e916f13f75cf183de2c94e.zip
drive,ipn/ipnlocal: calculate peer taildrive URLs on-demand
Instead of calculating the PeerAPI URL at the time that we add the peer, we now calculate it on every access to the peer. This way, if we initially did not have a shared address family with the peer, but later do, this allows us to access the peer at that point. This follows the pattern from other places where we access the peer API, which also calculate the URL on an as-needed basis. Additionally, we now show peers as not Available when we can't get a peer API URL. Lastly, this moves some of the more frequent verbose Taildrive logging from [v1] to [v2] level. Updates #29702 Signed-off-by: Percy Wegmann <percy@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions