From 69140fa366e3edaa0bfa3d7ef4ec5ef3f4ae3ea4 Mon Sep 17 00:00:00 2001 From: hackyminer Date: Thu, 6 Sep 2018 17:32:59 +0900 Subject: [PATCH] rpc: increased maxRequestContentLength size to 512kB --- rpc/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/http.go b/rpc/http.go index f3bd1f29c5..9e4f2b261a 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")