From 11a433b2c9bd38cb5a613106da0b29a1060f094b Mon Sep 17 00:00:00 2001 From: qydysky Date: Fri, 21 Mar 2025 08:59:44 +0000 Subject: [PATCH] 1 --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.2