You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Joe Tsai
37c646d9d3
taildrop: improve the functionality and reliability of put ( #9762 )
...
Changes made:
* Move all HTTP related functionality from taildrop to ipnlocal.
* Add two arguments to taildrop.Manager.PutFile to specify
an opaque client ID and a resume offset (both unused for now).
* Cleanup the logic of taildrop.Manager.PutFile
to be easier to follow.
* Implement file conflict handling where duplicate files are renamed
(e.g., "IMG_1234.jpg" -> "IMG_1234 (2).jpg").
* Implement file de-duplication where "renaming" a partial file
simply deletes it if it already exists with the same contents.
* Detect conflicting active puts where a second concurrent put
results in an error.
Updates tailscale/corp#14772
Signed-off-by: Joe Tsai <joetsai@digital-static.net>
Co-authored-by: Rhea Ghosh <rhea@tailscale.com>
3 years ago
..
testdata
ipn/ipnlocal: fix the path for writing cert files ( #7203 )
3 years ago
breaktcp_darwin.go
cmd/tailscale: add debug commands to break connections
3 years ago
breaktcp_linux.go
cmd/tailscale: add debug commands to break connections
3 years ago
c2n.go
ipn/ipnlocal: use syspolicy to determine collection of posture data
3 years ago
c2n_pprof.go
tailcfg: move LogHeapPprof from Debug to c2n [capver 69]
3 years ago
cert.go
all: use Go 1.21 slices, maps instead of x/exp/{slices,maps}
3 years ago
cert_js.go
ipn/{ipnlocal,localapi}: actually renew certs before expiry ( #8731 )
3 years ago
cert_test.go
all: use Go 1.21 slices, maps instead of x/exp/{slices,maps}
3 years ago
dnsconfig_test.go
types/netmap: remove NetworkMap.{Addresses,MachineStatus}
3 years ago
expiry.go
types/netmap, all: make NetworkMap.SelfNode a tailcfg.NodeView
3 years ago
expiry_test.go
types/netmap, all: make NetworkMap.SelfNode a tailcfg.NodeView
3 years ago
local.go
taildrop: improve the functionality and reliability of put ( #9762 )
3 years ago
local_test.go
ipn/ipnlocal: plumb ExitNodeDNSResolvers for IsWireGuardOnly exit nodes
3 years ago
loglines_test.go
tsd: add package with System type to unify subsystem init, discovery
3 years ago
network-lock.go
ipn/ipnlocal: add tailnet MagicDNS name to ipn.LoginProfile
3 years ago
network-lock_test.go
ipn/ipnlocal: add tailnet MagicDNS name to ipn.LoginProfile
3 years ago
peerapi.go
taildrop: improve the functionality and reliability of put ( #9762 )
3 years ago
peerapi_h2c.go
all: update copyright and license headers
3 years ago
peerapi_macios_ext.go
all: update copyright and license headers
3 years ago
peerapi_test.go
taildrop: improve the functionality and reliability of put ( #9762 )
3 years ago
profiles.go
winutil: refactor methods to get values from registry to also return ( #9536 )
3 years ago
profiles_notwindows.go
ipn/ipnlocal: fix profile duplication
3 years ago
profiles_test.go
ipn/ipnlocal: add tailnet MagicDNS name to ipn.LoginProfile
3 years ago
profiles_windows.go
ipn/ipnlocal: add more logging during profile migration
3 years ago
serve.go
ipn/ipnlocal: fix log spam from now expected paths
3 years ago
serve_test.go
ipn/ipnlocal: close foreground sessions on SetServeConfig
3 years ago
ssh.go
all: use Go 1.21 slices, maps instead of x/exp/{slices,maps}
3 years ago
ssh_stub.go
all: update copyright and license headers
3 years ago
ssh_test.go
ipn/ipnlocal: drop not required StateKey parameter
3 years ago
state_test.go
ipn/ipnlocal: add tailnet MagicDNS name to ipn.LoginProfile
3 years ago