mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
add io.ErrUnexpectedEOF for config retriable errors (#12309)
fixes #12307
This commit is contained in:
parent
3d9873106d
commit
a096a92c63
@ -22,6 +22,7 @@ import (
|
||||
"crypto/tls"
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"math/rand"
|
||||
"net"
|
||||
"os"
|
||||
@ -264,6 +265,7 @@ func configRetriableErrors(err error) bool {
|
||||
errors.Is(err, context.DeadlineExceeded) ||
|
||||
errors.Is(err, errErasureWriteQuorum) ||
|
||||
errors.Is(err, errErasureReadQuorum) ||
|
||||
errors.Is(err, io.ErrUnexpectedEOF) ||
|
||||
errors.As(err, &rquorum) ||
|
||||
errors.As(err, &wquorum) ||
|
||||
isErrBucketNotFound(err) ||
|
||||
|
Loading…
Reference in New Issue
Block a user