浏览代码

Increase default size limit for parameters in body data to 2 MB

bel2125 7 年之前
父节点
当前提交
19f31ba8dd
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/CivetServer.cpp

+ 2 - 2
src/CivetServer.cpp

@@ -16,8 +16,8 @@
 #endif
 
 #ifndef MAX_PARAM_BODY_LENGTH
-// Set a default limit for parameters in a form body: 10 kB
-#define MAX_PARAM_BODY_LENGTH (1024 * 10)
+// Set a default limit for parameters in a form body: 2 MB
+#define MAX_PARAM_BODY_LENGTH (1024 * 1024 * 2)
 #endif
 
 bool