tailscale/control/controlclient
Andrew Dunham 48f6c1eba4 control/controlclient: improve handling of concurrent lite map requests
Prior to this change, if we were in the middle of a lite map update we'd
tear down the entire map session and restart it. With this change, we'll
cancel an in-flight lite map request up to 10 times and restart before
we tear down the streaming map request. We tear down everything after 10
retries to ensure that a steady stream of calls to sendNewMapRequest
doesn't fail to make progress by repeatedly canceling and restarting.

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Co-authored-by: Maisem Ali <maisem@tailscale.com>
Change-Id: I9392bf8cf674e7a58ccd1e476039300a359ef3b1
2023-03-07 19:29:55 -05:00
..
auto.go control/controlclient: improve handling of concurrent lite map requests 2023-03-07 19:29:55 -05: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 all: update copyright and license headers 2023-01-27 15:36:29 -08:00
direct_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
direct.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
map_test.go all: use tstest.Replace more 2023-03-04 12:24:55 -08:00
map.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
noise_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
noise.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
sign_supported_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
sign_supported.go all: update copyright and license headers 2023-01-27 15:36:29 -08: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