Skip to content

Commit

Permalink
fserrors: add "server closed idle connection" to retriable errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ncw committed Nov 8, 2018
1 parent c0f6007 commit 4ad0879
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/fserrors/error.go
Expand Up @@ -233,6 +233,7 @@ var retriableErrorStrings = []string{
"unexpected EOF reading trailer", // net/http/transfer.go
"transport connection broken", // net/http/transport.go
"http: ContentLength=", // net/http/transfer.go
"server closed idle connection", // net/http/transport.go
}

// Errors which indicate networking errors which should be retried
Expand Down

0 comments on commit 4ad0879

Please sign in to comment.