]> 127.0.0.1 Git - front/.git/commitdiff
Update config.go
authorqydysky <qydysky@foxmail.com>
Fri, 21 Mar 2025 08:56:17 +0000 (16:56 +0800)
committerGitHub <noreply@github.com>
Fri, 21 Mar 2025 08:56:17 +0000 (16:56 +0800)
config.go

index 535683bd5172649f1e5fcd81d172484edceda32a..f93d0b399030857916d3a2cddf4cdbfaa525727f 100755 (executable)
--- a/config.go
+++ b/config.go
@@ -254,7 +254,7 @@ func (t *Config) SwapSign(ctx context.Context, logger Logger) {
                                )
                                if t.RetryBlocksI != nil && r.Body != nil {
                                        if contentLength := r.Header.Get("Content-Length"); contentLength != "" {
-                                               if len, e := strconv.Atoi(contentLength); e == nil && t.RetryBlocks.size >= len {
+                                               if len, e := strconv.Atoi(contentLength); e == nil {
                                                        var putBack func()
                                                        var e error
                                                        reqBuf, putBack, e = t.RetryBlocksI.Get()