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/ipn
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>
2 years ago
..
ipnauth all: update copyright and license headers 3 years ago
ipnlocal control/controlclient: run SetControlClientStatus in goroutine 2 years ago
ipnserver logpolicy, various: allow overriding log function 2 years ago
ipnstate ipn/ipnstate: add PeerStatus.AltSharerUserID, stop mangling Node.User 2 years ago
localapi cmd/tailscale, net/portmapper: add --log-http option to "debug portmap" 2 years ago
policy ipn: prefer allow/denylist terminology 3 years ago
store cmd/k8s-operator,ipn/store/kubestore: patch secrets instead of updating 2 years ago
backend.go all: update copyright and license headers 3 years ago
doc.go all: update copyright and license headers 3 years ago
fake_test.go all: update copyright and license headers 3 years ago
ipn_clone.go cmd/cloner: use maps.Clone and ptr.To 2 years ago
ipn_view.go cmd/viewer, types/views, all: un-special case slice of netip.Prefix 2 years ago
prefs.go cmd/viewer, types/views, all: un-special case slice of netip.Prefix 2 years ago
prefs_test.go types/persist: drop duplicated Persist.LoginName 2 years ago
serve.go ipn, ipn/ipnlocal: clean up documentation and use clock instead of time 2 years ago
serve_test.go tailscale/cli: add interactive flow for enabling Funnel 2 years ago
store.go ipn: avoid useless no-op WriteState calls 2 years ago
store_test.go ipn: avoid useless no-op WriteState calls 2 years ago