2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-01 16:40:50 +00:00
restic/internal/backend/b2
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
..
b2_test.go Read TLS client cert and key from the same file 2018-01-27 14:02:01 +01:00
b2.go backends: add sanity check for the uploaded file size 2021-01-29 13:51:51 +01:00
config_test.go Moves files 2017-07-23 14:19:13 +02:00
config.go Run goimports 2017-07-23 14:21:03 +02:00