1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: upgraded MAX_DEPOSITLEN to 16 MB
fix for a bug when restoring a class archive bigger than 8 MB, which is not
uncommon.
Index: wims-4.27a~dfsg1/src/wims.h
===================================================================
--- wims-4.27a~dfsg1.orig/src/wims.h
+++ wims-4.27a~dfsg1/src/wims.h
@@ -27,7 +27,7 @@
/* limit of query_string. */
#define QUERY_STRING_LIMIT 204799
/* maximal length of deposited file */
-#define MAX_DEPOSITLEN (8*1024*1024)
+#define MAX_DEPOSITLEN (16*1024*1024)
/* maximal number of registered variables */
#define MAX_VAR_NUM 512
/* length limit for public_html/bin executable names */
|