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 d16946854f control/controlclient: add Auto.updateRoutine
Instead of having updates replace the map polls, create
a third goroutine which is solely responsible for making
sure that control is aware of the latest client state.

This also makes it so that the streaming map polls are only
broken when there are auth changes, or the client is paused.

Updates tailscale/corp#5761

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2 years ago
..
auto.go control/controlclient: add Auto.updateRoutine 2 years ago
client.go all: update copyright and license headers 3 years ago
controlclient_test.go all: update copyright and license headers 3 years ago
debug.go util/goroutines: let ScrubbedGoroutineDump get only current stack 3 years ago
direct.go control/controlclient: add Auto.updateRoutine 2 years ago
direct_test.go control/controlclient: add Auto.updateRoutine 2 years ago
map.go control: use tstime instead of time (#8595) 2 years ago
map_test.go control: use tstime instead of time (#8595) 2 years ago
noise.go control: use tstime instead of time (#8595) 2 years ago
noise_test.go control/controlclient: use dnscache.Resolver for Noise client 3 years ago
sign.go all: update copyright and license headers 3 years ago
sign_supported.go control: use tstime instead of time (#8595) 2 years ago
sign_supported_test.go all: update copyright and license headers 3 years ago
sign_unsupported.go all: update copyright and license headers 3 years ago
status.go all: update copyright and license headers 3 years ago