Преглед изворни кода

Modify the http content-length max range : 30MB --> 32MB (#424)

Because we are programmer :)
FengZhang пре 4 година
родитељ
комит
a8b550e7ef
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      rest/config.go

+ 1 - 1
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]"`