mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 11:35:21 +08:00
error: make "bad record MAC" a retriable error - Fixes #3338
The error "tls: bad record MAC" is very likely to be caused by hardware issues. It indicates that a packet got corrupted somewhere. As a work around, this change treats it as retriable error which allows the chunk to get retried and the transfer to continue.
This commit is contained in:
parent
bbb8d43716
commit
7f7946564d
|
@ -266,6 +266,7 @@ var retriableErrorStrings = []string{
|
|||
"transport connection broken", // net/http/transport.go
|
||||
"http: ContentLength=", // net/http/transfer.go
|
||||
"server closed idle connection", // net/http/transport.go
|
||||
"bad record MAC", // crypto/tls/alert.go
|
||||
}
|
||||
|
||||
// Errors which indicate networking errors which should be retried
|
||||
|
|
Loading…
Reference in New Issue
Block a user