From caf4fdc46ab6069aad4538d641e79bfb4e6f2b6c Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Wed, 10 Jan 2024 16:28:36 +0800 Subject: [PATCH] fix: buf extend to 20kb --- features/mml/mml.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/mml/mml.go b/features/mml/mml.go index 841b7fa9..f013df75 100644 --- a/features/mml/mml.go +++ b/features/mml/mml.go @@ -72,7 +72,7 @@ func PostMMLToNF(w http.ResponseWriter, r *http.Request) { log.Debugf("token:%s, method:%s, managementType:%s dbname:%s, tbname:%s pack:%s", token, r.Method, module, neType, neId[0], pack) - var buf [8192]byte + var buf [20 * 1024]byte var n int var mmlResult []string