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
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
1 year ago
..
auto.go control/controlclient: improve handling of concurrent lite map requests 1 year ago
client.go all: update copyright and license headers 1 year ago
controlclient_test.go all: update copyright and license headers 1 year ago
debug.go all: update copyright and license headers 1 year ago
direct.go all: update copyright and license headers 1 year ago
direct_test.go all: update copyright and license headers 1 year ago
map.go all: update copyright and license headers 1 year ago
map_test.go all: use tstest.Replace more 1 year ago
noise.go all: update copyright and license headers 1 year ago
noise_test.go all: update copyright and license headers 1 year ago
sign.go all: update copyright and license headers 1 year ago
sign_supported.go all: update copyright and license headers 1 year ago
sign_supported_test.go all: update copyright and license headers 1 year ago
sign_unsupported.go all: update copyright and license headers 1 year ago
status.go all: update copyright and license headers 1 year ago