Merge pull request #855 from antonydenyer/master

rpc: raise HTTP/WebSocket request size limit to 5MB
This commit is contained in:
Samer Falah 2019-10-16 10:57:59 -04:00 committed by GitHub
commit 4cb5cfeae0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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