Skip to content

Commit

Permalink
increase edit file size to 50 MB
Browse files Browse the repository at this point in the history
  • Loading branch information
rawdaGastan committed Nov 1, 2023
1 parent 5988b0f commit 951c30b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/httpd/httpd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 951c30b

Please sign in to comment.