Skip to content

Commit

Permalink
fix: retry multipart file reset (#5693 close #5628)
Browse files Browse the repository at this point in the history
  • Loading branch information
foxxorcat committed Dec 14, 2023
1 parent 83c2269 commit 74b20de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/base/client.go
Expand Up @@ -33,6 +33,7 @@ func NewRestyClient() *resty.Client {
client := resty.New().
SetHeader("user-agent", UserAgent).
SetRetryCount(3).
SetRetryResetReaders(true).
SetTimeout(DefaultTimeout).
SetTLSClientConfig(&tls.Config{InsecureSkipVerify: conf.Conf.TlsInsecureSkipVerify})
return client
Expand Down

0 comments on commit 74b20de

Please sign in to comment.