]> 127.0.0.1 Git - front/.git/commitdiff
1 v0.1.20250321090804
authorqydysky <qydysky@foxmail.com>
Fri, 21 Mar 2025 09:06:09 +0000 (09:06 +0000)
committerGitHub <noreply@github.com>
Fri, 21 Mar 2025 09:06:09 +0000 (09:06 +0000)
config.go

index 3b1bc37433f90374bc22ce06132f5f9899e4f9a4..c5835dcc34bed3dfd089911f1390528f57c226ee 100755 (executable)
--- a/config.go
+++ b/config.go
@@ -261,7 +261,8 @@ func (t *Config) SwapSign(ctx context.Context, logger Logger) {
                                                        if e == nil {
                                                                defer putBack()
                                                                reqBufUsed = true
-                                                               n, _ := r.Body.Read(reqBuf)
+                                                               n, e := r.Body.Read(reqBuf)
+                                                               fmt.Println(t.RetryBlocks.size, n, e)
                                                                if t.RetryBlocks.size == n {
                                                                        logger.Warn(`W:`, fmt.Sprintf(logFormat, reqId, r.RemoteAddr, route.config.Addr, routePath, "Err", ErrReqReBodyFull))
                                                                }