dovecot-2.0-pigeonhole: Services' default vsz_limit wasn't actua...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Tue Nov 16 23:14:30 EET 2010


details:   http://hg.rename-it.nl/dovecot-2.0-pigeonhole/rev/c2a76570d736
changeset: 1445:c2a76570d736
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Tue Nov 16 22:09:02 2010 +0100
description:
Services' default vsz_limit wasn't actually using default_vsz_limit but rather 4 GB.

diffstat:

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

diffs (24 lines):

diff -r b0aa953b36ad -r c2a76570d736 src/managesieve-login/managesieve-login-settings.c
--- a/src/managesieve-login/managesieve-login-settings.c	Tue Nov 16 22:08:10 2010 +0100
+++ b/src/managesieve-login/managesieve-login-settings.c	Tue Nov 16 22:09:02 2010 +0100
@@ -51,7 +51,7 @@
 	.client_limit = 0,
 	.service_count = 1,
 	.idle_kill = 0,
-	.vsz_limit = 64,
+	.vsz_limit = 64*1024*1024,
 
 	.unix_listeners = ARRAY_INIT,
 	.fifo_listeners = ARRAY_INIT,
diff -r b0aa953b36ad -r c2a76570d736 src/managesieve/managesieve-settings.c
--- a/src/managesieve/managesieve-settings.c	Tue Nov 16 22:08:10 2010 +0100
+++ b/src/managesieve/managesieve-settings.c	Tue Nov 16 22:09:02 2010 +0100
@@ -48,7 +48,7 @@
 	.client_limit = 1,
 	.service_count = 1,
 	.idle_kill = 0,
-	.vsz_limit = -1U,
+	.vsz_limit = (uoff_t)-1,
 
 	.unix_listeners = { { &managesieve_unix_listeners_buf,
 				   sizeof(managesieve_unix_listeners[0]) } },


More information about the dovecot-cvs mailing list