You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
1 year ago
..
auto.go control/controlclient: run SetControlClientStatus in goroutine 1 year ago
client.go control/controlclient: remove unused StartLogout 1 year ago
controlclient_test.go control/controlclient: delete Status.Log{in,out}Finished 1 year ago
direct.go control/controlclient: use slices package more 1 year ago
direct_test.go control/controlclient: add Auto.updateRoutine 1 year ago
map.go control/controlclient: convert PeersChanged nodes to patches internally 1 year ago
map_test.go types/logger: add AsJSON 1 year ago
noise.go control: use tstime instead of time (#8595) 1 year ago
noise_test.go control/controlclient: use dnscache.Resolver for Noise client 2 years ago
sign.go all: update copyright and license headers 2 years ago
sign_supported.go control: use tstime instead of time (#8595) 1 year ago
sign_supported_test.go all: update copyright and license headers 2 years ago
sign_unsupported.go all: update copyright and license headers 2 years ago
status.go control/controlclient: de-pointer Status.PersistView, document more 1 year ago