mirror of
https://github.com/rclone/rclone
synced 2025-01-17 22:27:30 +01:00
154e91bb23
The corruption was caused when the file was read to the end thus setting io.EOF and returning the buffers to the pool. Seek reset the EOF and carried on using the buffers that had been returned to the pool thus causing corruption when other goroutines claimed the buffers simultaneously. Fix by resetting the buffer pointers to nil when released and claiming new ones when seek resets EOF. Also added locking for Read and Seek which shouldn't be run concurrently. |
||
---|---|---|
amazonclouddrive | ||
b2 | ||
bin | ||
cmd | ||
crypt | ||
dircache | ||
docs | ||
drive | ||
dropbox | ||
fs | ||
fstest | ||
googlecloudstorage | ||
graphics | ||
hubic | ||
local | ||
oauthutil | ||
onedrive | ||
pacer | ||
rest | ||
s3 | ||
swift | ||
yandex | ||
.gitignore | ||
.travis.yml | ||
appveyor.yml | ||
CONTRIBUTING.md | ||
COPYING | ||
ISSUE_TEMPLATE.md | ||
Makefile | ||
MANUAL.html | ||
MANUAL.md | ||
MANUAL.txt | ||
notes.txt | ||
rclone.1 | ||
rclone.go | ||
README.md | ||
RELEASE.md |
Website | Documentation | Contributing | Changelog | Installation | G+
Rclone is a command line program to sync files and directories to and from
- Google Drive
- Amazon S3
- Openstack Swift / Rackspace cloud files / Memset Memstore
- Dropbox
- Google Cloud Storage
- Amazon Drive
- Microsoft One Drive
- Hubic
- Backblaze B2
- Yandex Disk
- The local filesystem
Features
- MD5/SHA1 hashes checked at all times for file integrity
- Timestamps preserved on files
- Partial syncs supported on a whole file basis
- Copy mode to just copy new/changed files
- Sync (one way) mode to make a directory identical
- Check mode to check for file hash equality
- Can sync to and from network, eg two different cloud accounts
- Optional encryption (Crypt)
- Optional FUSE mount
See the home page for installation, usage, documentation, changelog and configuration walkthroughs.
License
This is free software under the terms of MIT the license (check the COPYING file included in this package).