1
0
mirror of https://github.com/restic/restic.git synced 2024-06-27 07:55:08 +02:00
restic/internal
Michael Eischer c73316a111 backends: add sanity check for the uploaded file size
Bugs in the error handling while uploading a file to the backend could
cause incomplete files, e.g. https://github.com/golang/go/issues/42400
which could affect the local backend.

Proactively add sanity checks which will treat an upload as failed if
the reported upload size does not match the actual file size.
2021-01-29 13:51:51 +01:00
..
archiver archiver: fix race condition during worker startup 2020-12-30 17:31:22 +01:00
backend backends: add sanity check for the uploaded file size 2021-01-29 13:51:51 +01:00
cache Less repetitive error messages in internal/cache 2020-10-05 20:28:54 +02:00
checker Merge pull request #3173 from MichaelEischer/unify-index-loading 2021-01-28 13:50:42 +01:00
crypto crypto: Remove unused error 2020-09-05 10:07:16 +02:00
debug Allow debug logging to pipes and terminals 2020-10-19 22:30:30 +02:00
dump Deduplicate dumper closing logic 2020-12-19 02:42:46 +03:00
errors Don't retry when "no space left on device" in local backend 2020-12-17 12:43:09 +01:00
filter filter: Fix glob matching on absolute path marker on windows 2020-10-09 16:11:05 +02:00
fs vss: fix DeleteSnapshots() and GetSnapshotProperties() on 386 2020-11-12 19:31:00 +01:00
fuse fuse: Properly set uid/gid for directories 2020-11-30 23:41:49 +01:00
hashing hashing: support WriteTo in the reader 2021-01-03 22:23:53 +01:00
limiter limiter: add unit tests 2021-01-03 22:23:53 +01:00
migrations Fix issues reported by semgrep 2020-12-11 09:41:59 +01:00
mock mock: Remove unused repository type 2019-04-13 13:38:39 +02:00
options Some options fixes 2020-12-23 23:26:04 +03:00
pack Make BlobHandle substruct of Blob 2020-11-22 20:41:10 +01:00
repository Merge pull request #3173 from MichaelEischer/unify-index-loading 2021-01-28 13:50:42 +01:00
restic Merge pull request #3174 from MichaelEischer/parallelize-lock-loading 2021-01-28 13:52:12 +01:00
restorer restorer: lower-case variable name 2021-01-03 13:55:59 +01:00
selfupdate self-update: Don't cancel download after 30 seconds 2019-02-23 11:15:18 +01:00
test helpers: Improve error message 2020-11-12 20:38:31 +01:00
textfile Remove io.Writer from fs.File 2020-09-21 14:21:32 +02:00
ui Merge pull request #3242 from greatroar/fprintln 2021-01-28 20:34:06 +01:00
walker Remove a few redundant type specifiers 2020-10-06 14:55:13 +02:00