From a8b550e7ef53bf32c8bb568ab386ea781d3410a6 Mon Sep 17 00:00:00 2001 From: FengZhang Date: Sat, 30 Jan 2021 18:49:33 +0800 Subject: [PATCH] Modify the http content-length max range : 30MB --> 32MB (#424) Because we are programmer :) --- rest/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest/config.go b/rest/config.go index 5c97e425..9bbd0269 100644 --- a/rest/config.go +++ b/rest/config.go @@ -32,7 +32,7 @@ type ( KeyFile string `json:",optional"` Verbose bool `json:",optional"` MaxConns int `json:",default=10000"` - MaxBytes int64 `json:",default=1048576,range=[0:31457280]"` + MaxBytes int64 `json:",default=1048576,range=[0:33554432]"` // milliseconds Timeout int64 `json:",default=3000"` CpuThreshold int64 `json:",default=900,range=[0:1000]"`