$Log$
+ Revision 641.19 2005/03/04 02:18:46 ajc
+ * config.c: default setting for "maxmsglen" is now 10 megabytes, not INT_MAX
+
Revision 641.18 2005/03/03 18:10:27 ajc
* sysdep.c: change the algorithm for dynamically expanding the redirect
buffer's size. Large writes were overflowing it.
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
exit(1);
}
- /* Default maximum message length is 'unlimited' (max int)
- * and the minimum is 8192
+ /* Default maximum message length is 10 megabytes. This is site
+ * configurable. Also check to make sure the limit has not been
+ * set below 8192 bytes.
*/
if (config.c_maxmsglen <= 0)
- config.c_maxmsglen = INT_MAX;
+ config.c_maxmsglen = 10485760;
if (config.c_maxmsglen < 8192)
config.c_maxmsglen = 8192;