rpc: raise HTTP/WebSocket request size limit to 5MB

This commit is contained in:
Antony Denyer 2019-10-16 11:02:09 +01:00
parent 7d773ae432
commit 500b5a5ff4
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ import (
const (
contentType = "application/json"
maxRequestContentLength = 1024 * 512
maxRequestContentLength = 1024 * 1024 * 512
)
var nullAddr, _ = net.ResolveTCPAddr("tcp", "127.0.0.1:0")