summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver
diff options
context:
space:
mode:
authorTom Proctor <tomhjp@users.noreply.github.com>2026-03-23 20:44:23 +0000
committerGitHub <noreply@github.com>2026-03-23 20:44:23 +0000
commit44ec71cf94cc52e7850421d3eecee0d8a291b128 (patch)
tree1a461e9fa99af10cf267151d15c3a7a67c6f1e4c /control/controlhttp/controlhttpserver
parent0b4c0f208049358391b66756e4decb4b0f72177f (diff)
downloadtailscale-44ec71cf94cc52e7850421d3eecee0d8a291b128.tar.xz
tailscale-44ec71cf94cc52e7850421d3eecee0d8a291b128.zip
tsnet: print state change in auth loop more responsively (#18048)
tsnet has a 5s sleep as part of its logic waiting to log successful auth. Add an additional channel that will interrupt this sleep early if the local backend's state changes before then. This is early enough in the bootstrap logic that the local client has not been set up yet, so we subscribe directly on the local backend in keeping with the rest of the function, but it would be nice to port the whole function to the new eventbus in a separate change. Note this does not affect how quickly auth actually happens, it just ensures we more responsively log the fact that auth state has changed. Updates #16340 Change-Id: I7a28fd3927bbcdead9a5aad39f4a3596b5f659b0 Signed-off-by: Tom Proctor <tomhjp@users.noreply.github.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver')
0 files changed, 0 insertions, 0 deletions