We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1d6707 commit e933708Copy full SHA for e933708
retry.go
@@ -112,6 +112,7 @@ func isS3CodeRetryable(s3Code string) (ok bool) {
112
113
// List of HTTP status codes which are retryable.
114
var retryableHTTPStatusCodes = map[int]struct{}{
115
+ http.StatusRequestTimeout: {},
116
429: {}, // http.StatusTooManyRequests is not part of the Go 1.5 library, yet
117
499: {}, // client closed request, retry. A non-standard status code introduced by nginx.
118
http.StatusInternalServerError: {},
0 commit comments