tailscale/control/controlclient
Maisem Ali 7074a40c06 control/controlclient: run SetControlClientStatus in goroutine
We have cases where the SetControlClientStatus would result in
a Shutdown call back into the auto client that would block
forever. The right thing to do here is to fix the LocalBackend
state machine but thats a different dumpster fire that we
are slowly making progress towards.

This makes it so that the SetControlClientStatus happens in a
different goroutine so that calls back into the auto client
do not block.

Also add a few missing mu.Unlocks in LocalBackend.Start.

Updates #9181

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2023-08-31 14:54:02 -07:00
..
auto.go control/controlclient: run SetControlClientStatus in goroutine 2023-08-31 14:54:02 -07:00
client.go control/controlclient: remove unused StartLogout 2023-08-30 20:23:03 -07:00
controlclient_test.go control/controlclient: delete Status.Log{in,out}Finished 2023-08-30 11:21:06 -07:00
direct_test.go control/controlclient: add Auto.updateRoutine 2023-08-10 12:23:08 -07:00
direct.go control/controlclient: use slices package more 2023-08-30 13:45:20 -07:00
map_test.go types/logger: add AsJSON 2023-08-28 15:14:24 -07:00
map.go control/controlclient: convert PeersChanged nodes to patches internally 2023-08-28 15:03:12 -07:00
noise_test.go control/controlclient: use dnscache.Resolver for Noise client 2023-05-01 13:22:10 -07:00
noise.go control: use tstime instead of time (#8595) 2023-08-04 19:29:44 -04:00
sign_supported_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
sign_supported.go control: use tstime instead of time (#8595) 2023-08-04 19:29:44 -04:00
sign_unsupported.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
sign.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
status.go control/controlclient: de-pointer Status.PersistView, document more 2023-08-30 11:48:58 -07:00