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/ipn/ipnlocal
Avery Pennarun 4f3315f3da ipnlocal: setting WantRunning with EditPrefs was special.
EditPrefs should be just a wrapper around the action of changing prefs,
but someone had added a side effect of calling Login() sometimes. The
side effect happened *after* running the state machine, which would
sometimes result in us going into NeedsLogin immediately before calling
cc.Login().

This manifested as the macOS app not being able to Connect if you
launched it with LoggedOut=false and WantRunning=false. Trying to
Connect() would sent us to the NeedsLogin state instead.

Signed-off-by: Avery Pennarun <apenwarr@tailscale.com>
3 years ago
..
local.go ipnlocal: setting WantRunning with EditPrefs was special. 3 years ago
local_test.go ipn: mock controlclient.Client; big ipn.Backend state machine test. 3 years ago
loglines_test.go tailcfg: add Endpoint, EndpointType, MapRequest.EndpointType 3 years ago
peerapi.go ipn/ipnlocal: always write files to partial files, even in buffered mode 3 years ago
peerapi_macios_ext.go ipn/{ipnlocal,localapi}: add localapi handler to dial/proxy file PUTs 3 years ago
peerapi_test.go ipn/ipnlocal: use delete marker files to work around Windows delete problems 3 years ago
state_test.go ipnlocal: setting WantRunning with EditPrefs was special. 3 years ago