tailscale/ipn/ipnlocal
Brad Fitzpatrick f99e63bb17 ipn: don't Logout when Windows GUI disconnects
Logout used to be a no-op, so the ipnserver previously synthensized a Logout
on disconnect. Now that Logout actually invalidates the node key that was
forcing all GUI closes to log people out.

Instead, add a method to LocalBackend to specifically mean "the
Windows GUI closed, please forget all the state".

Fixes tailscale/corp#1591 (ignoring the notification issues, tracked elsewhere)

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-04-20 13:14:10 -07:00
..
local_test.go ipn/localapi: add API for getting file targets 2021-04-06 11:01:30 -07:00
local.go ipn: don't Logout when Windows GUI disconnects 2021-04-20 13:14:10 -07:00
loglines_test.go tailcfg: add Endpoint, EndpointType, MapRequest.EndpointType 2021-04-13 10:12:14 -07:00
peerapi_macios_ext.go ipn/{ipnlocal,localapi}: add localapi handler to dial/proxy file PUTs 2021-04-06 21:31:50 -07:00
peerapi_test.go ipn/ipnlocal: finish/fix up filename validation & encoding on disk 2021-04-19 22:39:53 -07:00
peerapi.go ipn{,/ipnlocal}: in direct file receive mode, don't rename partial file 2021-04-20 12:40:42 -07:00