summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver
diff options
context:
space:
mode:
authorFernando Serboncini <fserb@tailscale.com>2026-02-26 12:36:26 -0500
committerGitHub <noreply@github.com>2026-02-26 12:36:26 -0500
commitda90ea664d7a601a73cd531bc5ae1db0993033c1 (patch)
treea7c83cbde3b164b719696a2a0c7ad13d622cb9a5 /control/controlhttp/controlhttpserver
parent15836e56245c590bfddf342a9ce77bcfbb364f00 (diff)
downloadtailscale-da90ea664d7a601a73cd531bc5ae1db0993033c1.tar.xz
tailscale-da90ea664d7a601a73cd531bc5ae1db0993033c1.zip
wgengine/magicsock: only run derpActiveFunc after connecting to DERP (#18814)
derpActiveFunc was being called immediately as a bare goroutine, before startGate was resolved. For the firstDerp case, startGate is c.derpStarted which only closes after dc.Connect() completes, so derpActiveFunc was firing before the DERP connection existed. We now block it with the same logic used by runDerpReader and by runDerpWriter. Updates: #18810 Signed-off-by: Fernando Serboncini <fserb@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver')
0 files changed, 0 insertions, 0 deletions