From: qydysky Date: Fri, 21 Mar 2025 08:59:44 +0000 (+0000) Subject: 1 X-Git-Tag: v0.1.20250321090123 X-Git-Url: http://127.0.0.1:8081/?a=commitdiff_plain;h=11a433b2c9bd38cb5a613106da0b29a1060f094b;p=front%2F.git 1 --- diff --git a/config.go b/config.go index f93d0b3..3b1bc37 100755 --- 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 { + if _, e := strconv.Atoi(contentLength); e == nil { var putBack func() var e error reqBuf, putBack, e = t.RetryBlocksI.Get()