summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorJordan Whited <jordan@tailscale.com>2025-06-23 15:50:43 -0700
committerGitHub <noreply@github.com>2025-06-23 15:50:43 -0700
commita589863d61725bf027bb03a1389c7900dce611b8 (patch)
tree77c75f0ce4c3d9e119fad8e6fe2058cc27c4d241 /control/controlhttp/controlhttpserver/controlhttpserver.go
parent9288efe592d45c2578278c61ac0bddd4db57e901 (diff)
downloadtailscale-a589863d61725bf027bb03a1389c7900dce611b8.tar.xz
tailscale-a589863d61725bf027bb03a1389c7900dce611b8.zip
feature/relayserver,net/udprelay,wgengine/magicsock: implement retry (#16347)
udprelay.Server is lazily initialized when the first request is received over peerAPI. These early requests have a high chance of failure until the first address discovery cycle has completed. Return an ErrServerNotReady error until the first address discovery cycle has completed, and plumb retry handling for this error all the way back to the client in relayManager. relayManager can now retry after a few seconds instead of waiting for the next path discovery cycle, which could take another minute or longer. Updates tailscale/corp#27502 Signed-off-by: Jordan Whited <jordan@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions