summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-05-02 16:54:40 +0300
committerWolfy-J <[email protected]>2019-05-02 16:54:40 +0300
commit859441b4d084babca70266bd23ceb2a95269b3ff (patch)
treead4dc15b064c2155ebe1ce55b64489ae977db01c /service
parent0ae4bf26cd4805cc2f7adc5cb2e8c3cc5bac0290 (diff)
max request size
Diffstat (limited to 'service')
-rw-r--r--service/http/handler_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/http/handler_test.go b/service/http/handler_test.go
index 6cedd4cd..5d4f7659 100644
--- a/service/http/handler_test.go
+++ b/service/http/handler_test.go
@@ -513,7 +513,7 @@ func TestHandler_FormData_POST(t *testing.T) {
func TestHandler_FormData_POST_Overwrite(t *testing.T) {
h := &Handler{
cfg: &Config{
- MaxRequest: 1024,
+ MaxRequestSize: 1024,
Uploads: &UploadsConfig{
Dir: os.TempDir(),
Forbid: []string{},