Files
tailscale/ipn/ipnlocal
Brendan Creane cd8532f160 ipn/ipnlocal: send one Notify per control status update (#22441)
A full netmap from control produced up to five separate ipn.Notify
messages: LoginFinished, the login prefs, the self node and peers, the
exit node suggestion, and the re-resolved exit node prefs. A GUI that
applied each one on arrival briefly showed the state between them.

setControlClientStatusLocked now collects all of them into one Notify,
sent from a deferred call when any field is set. suggestExitNodeLocked
no longer sends. It records a changed suggestion in a Notify that its
caller passes in, and the caller sends it with its other changes. The
two netmap blocks after the prefs save are merged. Nothing between them
ran unlocked.

Fixes #22206

Signed-off-by: Brendan Creane <[email protected]>
2026-12-03 08:11:18 -08:00
..
2026-07-10 17:39:16 -07:00