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
Brad Fitzpatrick b5ff68a968 control/controlclient: flesh out mapSession to break up gigantic method
Now mapSession has a bunch more fields and methods, rather than being
just one massive func with a ton of local variables.

So far there are no major new optimizations, though. It should behave
the same as before.

This has been done with an eye towards testability (so tests can set
all the callback funcs as needed, or not, without a huge Direct client
or long-running HTTP requests), but this change doesn't add new tests
yet. That will follow in the changes which flesh out the NetmapUpdater
interface.

Updates #1909

Change-Id: Iad4e7442d5bbbe2614bd4b1dc4b02e27504898df
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
1 year ago
..
auto.go control/controlclient: move lastUpdateGenInformed to tighter scope 1 year ago
client.go all: update copyright and license headers 2 years ago
controlclient_test.go all: update copyright and license headers 2 years ago
direct.go control/controlclient: flesh out mapSession to break up gigantic method 1 year ago
direct_test.go control/controlclient: add Auto.updateRoutine 1 year ago
map.go control/controlclient: flesh out mapSession to break up gigantic method 1 year ago
map_test.go control/controlclient: flesh out mapSession to break up gigantic method 1 year ago
noise.go control: use tstime instead of time (#8595) 1 year ago
noise_test.go control/controlclient: use dnscache.Resolver for Noise client 2 years ago
sign.go all: update copyright and license headers 2 years ago
sign_supported.go control: use tstime instead of time (#8595) 1 year ago
sign_supported_test.go all: update copyright and license headers 2 years ago
sign_unsupported.go all: update copyright and license headers 2 years ago
status.go all: update copyright and license headers 2 years ago