From a27c95099654bd5755cb8231278051ad70332901 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 19 Jul 2019 15:51:46 +0200 Subject: [PATCH] rpc: raise HTTP/WebSocket request size limit to 5MB --- rpc/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/http.go b/rpc/http.go index 518b3b874f..e8f2cfda77 100644 --- a/rpc/http.go +++ b/rpc/http.go @@ -36,7 +36,7 @@ import ( ) const ( - maxRequestContentLength = 1024 * 512 + maxRequestContentLength = 1024 * 1024 * 5 contentType = "application/json" )