From 580779a7889c36feda269a0f80bec62d500099d4 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Sat, 2 Apr 2022 10:41:02 +0800 Subject: [PATCH] =?UTF-8?q?response=20body=20buffer=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E6=94=B9=E4=B8=BA16k?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/nodes/http_request.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/nodes/http_request.go b/internal/nodes/http_request.go index 6e7acfb..9478a9f 100644 --- a/internal/nodes/http_request.go +++ b/internal/nodes/http_request.go @@ -1625,7 +1625,7 @@ func (this *HTTPRequest) addError(err error) { // 计算合适的buffer size func (this *HTTPRequest) bytePool(contentLength int64) *utils.BytePool { if contentLength < 0 { - return utils.BytePool4k + return utils.BytePool16k } if contentLength < 8192 { // 8K return utils.BytePool1k