summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver
diff options
context:
space:
mode:
authorM. J. Fromberger <fromberger@tailscale.com>2025-10-24 14:08:47 -0700
committerGitHub <noreply@github.com>2025-10-24 14:08:47 -0700
commit4346615d77a6de16854c6e78f9d49375d6424e6e (patch)
treef6acba4f43d9ef636e660b0d0344564cffb2fdb1 /control/controlhttp/controlhttpserver
parentfd0e541e5d72aecddcb3e989c33b9aef23c7be96 (diff)
downloadtailscale-4346615d77a6de16854c6e78f9d49375d6424e6e.tar.xz
tailscale-4346615d77a6de16854c6e78f9d49375d6424e6e.zip
logtail: avoid racing eventbus subscriptions with Shutdown (#17639)
When the eventbus is enabled, set up the subscription for change deltas at the beginning when the client is created, rather than waiting for the first awaitInternetUp check. Otherwise, it is possible for a check to race with the client close in Shutdown, which triggers a panic. Updates #17638 Change-Id: I461c07939eca46699072b14b1814ecf28eec750c Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver')
0 files changed, 0 insertions, 0 deletions