From 18e6c36267bf4c227db016e31b0afc6829df1a36 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Mon, 16 Dec 2024 19:02:29 +0800 Subject: [PATCH] upda --- app/mw/mw_limiter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/mw/mw_limiter.go b/app/mw/mw_limiter.go index 1a8c22b..3bfc9e7 100644 --- a/app/mw/mw_limiter.go +++ b/app/mw/mw_limiter.go @@ -23,7 +23,7 @@ func Limiter(c *gin.Context) { host := c.Request.Host uri := c.Request.URL.String() - buf := make([]byte, 5120*50) + buf := make([]byte, 5120*100) num, _ := c.Request.Body.Read(buf) body := buf[:num]