2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-11 15:51:02 +00:00
restic/internal/backend/sftp
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
..
config_test.go Support IPv6 in SFTP backend 2020-02-19 15:42:12 +01:00
config.go Support IPv6 in SFTP backend 2020-02-19 15:42:12 +01:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
layout_test.go Wire context into backend layout detection 2020-10-09 22:37:24 +02:00
sftp_test.go Wire context into backend layout detection 2020-10-09 22:37:24 +02:00
sftp.go backends: add sanity check for the uploaded file size 2021-01-29 13:51:51 +01:00
sshcmd_test.go Revert "Put host last in SSH command line" 2020-03-08 16:45:33 +01:00