Setting maxRequestContentLength to 5mb (#898)

This commit is contained in:
Jitendra Bhurat 2019-12-04 10:53:42 -05:00 committed by Samer Falah
parent dfd93ff218
commit 0e62a4c7ea
1 changed files with 1 additions and 1 deletions

View File

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