diff --git a/pkg/httpd/httpd.go b/pkg/httpd/httpd.go index d0d91a2f6..3ad6c28f0 100644 --- a/pkg/httpd/httpd.go +++ b/pkg/httpd/httpd.go @@ -181,11 +181,11 @@ const ( webStaticFilesPathDefault = "/static" webOpenAPIPathDefault = "/openapi" // MaxRestoreSize defines the max size for the loaddata input file - MaxRestoreSize = 10485760 // 10 MB - maxRequestSize = 1048576 // 1MB - maxLoginBodySize = 262144 // 256 KB - httpdMaxEditFileSize = 1048576 // 1 MB - maxMultipartMem = 10485760 // 10 MB + MaxRestoreSize = 10485760 // 10 MB + maxRequestSize = 1048576 // 1MB + maxLoginBodySize = 262144 // 256 KB + httpdMaxEditFileSize = 1048576 * 50 // 50 MB + maxMultipartMem = 10485760 // 10 MB osWindows = "windows" otpHeaderCode = "X-SFTPGO-OTP" mTimeHeader = "X-SFTPGO-MTIME"