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
Brad Fitzpatrick 138921ae40 ipn/ipnlocal: always write files to partial files, even in buffered mode
The intention was always that files only get written to *.partial
files and renamed at the end once fully received, but somewhere in the
process that got lost in buffered mode and *.partial files were only
being used in direct receive mode. This fix prevents WaitingFiles
from returning files that are still being transferred.

Updates tailscale/corp#1626

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
local.go ipn/ipnlocal: add file sharing to windows shell 3 years ago
local_test.go ipn/ipnlocal: on fresh lazy-connecting install, start in state NeedsLogin 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