aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHackyMiner <hackyminer@gmail.com>2018-09-25 18:27:18 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-09-25 18:27:18 +0800
commitb66f793443f572082d24f115e706532a620ba3ee (patch)
tree33fc88a08408fb87f244075686b74c8651e4eaa5
parent6663e5da10e7198f7ff5e883fd857240e59d476c (diff)
downloadgo-tangerine-b66f793443f572082d24f115e706532a620ba3ee.tar.gz
go-tangerine-b66f793443f572082d24f115e706532a620ba3ee.tar.zst
go-tangerine-b66f793443f572082d24f115e706532a620ba3ee.zip
rpc: increase maxRequestContentLength size to 512kB (#17595)
-rw-r--r--rpc/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/http.go b/rpc/http.go
index f3bd1f29c..9e4f2b261 100644
--- a/rpc/http.go
+++ b/rpc/http.go
@@ -37,7 +37,7 @@ import (
const (
contentType = "application/json"
- maxRequestContentLength = 1024 * 128
+ maxRequestContentLength = 1024 * 512
)
var nullAddr, _ = net.ResolveTCPAddr("tcp", "127.0.0.1:0")