From 1997dbad4cff0e1fb403fc73cfbd6b705aed1d85 Mon Sep 17 00:00:00 2001 From: "qiheng.zhou" Date: Thu, 22 Aug 2024 14:28:04 +0800 Subject: [PATCH] feat: set limit to 4k --- pkg/remote/codec/validate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/remote/codec/validate.go b/pkg/remote/codec/validate.go index fe6e0c1a82..306b9c1e1d 100644 --- a/pkg/remote/codec/validate.go +++ b/pkg/remote/codec/validate.go @@ -35,7 +35,7 @@ import ( const ( PayloadValidatorPrefix = "PV_" - maxPayloadChecksumLength = 1024 + maxPayloadChecksumLength = 4096 // maximum 4k ) // PayloadValidator is the interface for validating the payload of RPC requests, which allows customized Checksum function.