rpc: increased maxRequestContentLength size to 512kB

This commit is contained in:
hackyminer 2018-09-06 17:32:59 +09:00
parent 5918b88a8f
commit 69140fa366
No known key found for this signature in database
GPG key ID: 46D453DDCA4B766F

View file

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