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 24e38eb729 control/controlclient,health,ipn/ipnlocal,health: fix deadlock by deleting health reporting
A recent change (009d702adf) introduced a deadlock where the
/machine/update-health network request to report the client's health
status update to the control plane was moved to being synchronous
within the eventbus's pump machinery.

I started to instead make the health reporting be async, but then we
realized in the three years since we added that, it's barely been used
and doesn't pay for itself, for how many HTTP requests it makes.

Instead, delete it all and replace it with a c2n handler, which
provides much more helpful information.

Fixes tailscale/corp#32952

Change-Id: I9e8a5458269ebfdda1c752d7bbb8af2780d71b04
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 months ago
..
auto.go control/controlclient,health,ipn/ipnlocal,health: fix deadlock by deleting health reporting 2 months ago
client.go control/controlclient: introduce eventbus messages instead of callbacks (#16956) 3 months ago
controlclient_test.go net/netmon: remove usage of direct callbacks from netmon (#17292) 2 months ago
direct.go control/controlclient,health,ipn/ipnlocal,health: fix deadlock by deleting health reporting 2 months ago
direct_test.go net/netmon: remove usage of direct callbacks from netmon (#17292) 2 months ago
errors.go control/controlclient, ipn: add client audit logging (#14950) 9 months ago
map.go control/controlclient: optimize zstd decode of KeepAlive messages 2 months ago
map_test.go control/controlclient: optimize zstd decode of KeepAlive messages 2 months ago
sign.go all: update copyright and license headers 3 years ago
sign_supported.go util/syspolicy/policyclient: add policyclient.Client interface, start plumbing 3 months ago
sign_supported_test.go all: update copyright and license headers 3 years ago
sign_unsupported.go util/syspolicy/policyclient: add policyclient.Client interface, start plumbing 3 months ago
status.go all: implement AppendText alongside MarshalText (#9207) 2 years ago