forked from TrueCloudLab/rclone
fs: Add "unexpected EOF reading trailer" as a retriable error - fixes #1730
This commit is contained in:
parent
7f3dc9b5c4
commit
3eb7f52e39
1 changed files with 1 additions and 0 deletions
|
@ -225,6 +225,7 @@ func Cause(cause error) (retriable bool, err error) {
|
||||||
// errors and all errors were exported from the stdlib.
|
// errors and all errors were exported from the stdlib.
|
||||||
var retriableErrorStrings = []string{
|
var retriableErrorStrings = []string{
|
||||||
"use of closed network connection", // not exported :-(
|
"use of closed network connection", // not exported :-(
|
||||||
|
"unexpected EOF reading trailer",
|
||||||
}
|
}
|
||||||
|
|
||||||
// Errors which indicate networking errors which should be retried
|
// Errors which indicate networking errors which should be retried
|
||||||
|
|
Loading…
Reference in a new issue