Diff

mod_http_upload/mod_http_upload.lua @ 2053:40056a27f394

mod_http_upload: Lower default size limit to 1MB
author Kim Alvefur <zash@zash.se>
date Wed, 24 Feb 2016 15:59:18 +0100
parent 1967:2ce2b194d501
child 2065:624e3fed6f92
line wrap: on
line diff
--- a/mod_http_upload/mod_http_upload.lua	Wed Feb 24 15:58:49 2016 +0100
+++ b/mod_http_upload/mod_http_upload.lua	Wed Feb 24 15:59:18 2016 +0100
@@ -21,7 +21,7 @@
 end
 
 -- config
-local file_size_limit = module:get_option_number(module.name .. "_file_size_limit", 10 * 1024 * 1024); -- 10 MB
+local file_size_limit = module:get_option_number(module.name .. "_file_size_limit", 1024 * 1024); -- 1 MB
 
 -- depends
 module:depends("http");