mirror of
https://github.com/rclone/rclone.git
synced 2025-01-24 12:56:36 +02:00
fs: Add "unexpected EOF reading trailer" as a retriable error - fixes #1730
This commit is contained in:
parent
7f3dc9b5c4
commit
3eb7f52e39
@ -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…
x
Reference in New Issue
Block a user