diff options
author | HackyMiner <hackyminer@gmail.com> | 2018-09-25 18:27:18 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-09-25 18:27:18 +0800 |
commit | b66f793443f572082d24f115e706532a620ba3ee (patch) | |
tree | 33fc88a08408fb87f244075686b74c8651e4eaa5 /rpc | |
parent | 6663e5da10e7198f7ff5e883fd857240e59d476c (diff) | |
download | go-tangerine-b66f793443f572082d24f115e706532a620ba3ee.tar.gz go-tangerine-b66f793443f572082d24f115e706532a620ba3ee.tar.zst go-tangerine-b66f793443f572082d24f115e706532a620ba3ee.zip |
rpc: increase maxRequestContentLength size to 512kB (#17595)
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/http.go | 2 |
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") |