1
0
mirror of https://github.com/restic/restic.git synced 2024-06-30 08:20:55 +02:00
restic/internal/backend/azure
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
..
azure_test.go Fix issues reported by semgrep 2020-12-11 09:41:59 +01:00
azure.go backends: add sanity check for the uploaded file size 2021-01-29 13:51:51 +01:00
config_test.go Add Azure Blob Storage as backend 2017-08-06 21:47:04 +02:00
config.go simplified prefix removal, removed unnecessary if-else statements 2019-06-30 23:34:47 +03:00