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>
2023-08-10 12:23:08 -07:00
..
auto.go control/controlclient: add Auto.updateRoutine 2023-08-10 12:23:08 -07:00
client.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
controlclient_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
debug.go util/goroutines: let ScrubbedGoroutineDump get only current stack 2023-06-23 12:50:45 -07:00
direct_test.go control/controlclient: add Auto.updateRoutine 2023-08-10 12:23:08 -07:00
direct.go control/controlclient: add Auto.updateRoutine 2023-08-10 12:23:08 -07:00
map_test.go control: use tstime instead of time (#8595) 2023-08-04 19:29:44 -04:00
map.go control: use tstime instead of time (#8595) 2023-08-04 19:29:44 -04: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 all: update copyright and license headers 2023-01-27 15:36:29 -08:00