dovecot-2.0: imap/pop3-login: Use default_vsz_limit instead of a...

dovecot at dovecot.org dovecot at dovecot.org
Wed Nov 9 18:04:19 EET 2011


details:   http://hg.dovecot.org/dovecot-2.0/rev/37c044235948
changeset: 12960:37c044235948
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Nov 09 18:14:04 2011 +0200
description:
imap/pop3-login: Use default_vsz_limit instead of adding our own.
There's not a huge difference between 64 MB and the default 256 MB, and this
change makes it easier to change the default limit globally.

diffstat:

 src/imap-login/imap-login-settings.c |  2 +-
 src/pop3-login/pop3-login-settings.c |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 30d16ea01b73 -r 37c044235948 src/imap-login/imap-login-settings.c
--- a/src/imap-login/imap-login-settings.c	Wed Nov 09 18:07:28 2011 +0200
+++ b/src/imap-login/imap-login-settings.c	Wed Nov 09 18:14:04 2011 +0200
@@ -41,7 +41,7 @@
 	.client_limit = 0,
 	.service_count = 1,
 	.idle_kill = 0,
-	.vsz_limit = 64*1024*1024,
+	.vsz_limit = (uoff_t)-1,
 
 	.unix_listeners = ARRAY_INIT,
 	.fifo_listeners = ARRAY_INIT,
diff -r 30d16ea01b73 -r 37c044235948 src/pop3-login/pop3-login-settings.c
--- a/src/pop3-login/pop3-login-settings.c	Wed Nov 09 18:07:28 2011 +0200
+++ b/src/pop3-login/pop3-login-settings.c	Wed Nov 09 18:14:04 2011 +0200
@@ -41,7 +41,7 @@
 	.client_limit = 0,
 	.service_count = 1,
 	.idle_kill = 0,
-	.vsz_limit = 64*1024*1024,
+	.vsz_limit = (uoff_t)-1,
 
 	.unix_listeners = ARRAY_INIT,
 	.fifo_listeners = ARRAY_INIT,


More information about the dovecot-cvs mailing list