dovecot-2.0: Services' default vsz_limit wasn't actually using d...

dovecot at dovecot.org dovecot at dovecot.org
Tue Nov 16 21:58:06 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/8793036f6de8
changeset: 12432:8793036f6de8
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Nov 16 19:58:03 2010 +0000
description:
Services' default vsz_limit wasn't actually using default_vsz_limit but rather 4 GB.

diffstat:

 src/anvil/anvil-settings.c           |  2 +-
 src/auth/auth-settings.c             |  4 ++--
 src/config/config-settings.c         |  2 +-
 src/dict/dict-settings.c             |  2 +-
 src/director/director-settings.c     |  2 +-
 src/dns/dns-client-settings.c        |  2 +-
 src/doveadm/doveadm-settings.c       |  2 +-
 src/imap/imap-settings.c             |  2 +-
 src/log/log-settings.c               |  2 +-
 src/pop3/pop3-settings.c             |  2 +-
 src/ssl-params/ssl-params-settings.c |  2 +-
 src/util/tcpwrap-settings.c          |  2 +-
 12 files changed, 13 insertions(+), 13 deletions(-)

diffs (153 lines):

diff -r eeaf30cfad36 -r 8793036f6de8 src/anvil/anvil-settings.c
--- a/src/anvil/anvil-settings.c	Tue Nov 16 19:51:46 2010 +0000
+++ b/src/anvil/anvil-settings.c	Tue Nov 16 19:58:03 2010 +0000
@@ -39,7 +39,7 @@
 	.client_limit = 0,
 	.service_count = 0,
 	.idle_kill = -1U,
-	.vsz_limit = -1U,
+	.vsz_limit = (uoff_t)-1,
 
 	.unix_listeners = { { &anvil_unix_listeners_buf,
 			      sizeof(anvil_unix_listeners[0]) } },
diff -r eeaf30cfad36 -r 8793036f6de8 src/auth/auth-settings.c
--- a/src/auth/auth-settings.c	Tue Nov 16 19:51:46 2010 +0000
+++ b/src/auth/auth-settings.c	Tue Nov 16 19:58:03 2010 +0000
@@ -52,7 +52,7 @@
 	.client_limit = 4096,
 	.service_count = 0,
 	.idle_kill = 0,
-	.vsz_limit = -1U,
+	.vsz_limit = (uoff_t)-1,
 
 	.unix_listeners = { { &auth_unix_listeners_buf,
 			      sizeof(auth_unix_listeners[0]) } },
@@ -92,7 +92,7 @@
 	.client_limit = 1,
 	.service_count = 1,
 	.idle_kill = 0,
-	.vsz_limit = -1U,
+	.vsz_limit = (uoff_t)-1,
 
 	.unix_listeners = { { &auth_worker_unix_listeners_buf,
 			      sizeof(auth_worker_unix_listeners[0]) } },
diff -r eeaf30cfad36 -r 8793036f6de8 src/config/config-settings.c
--- a/src/config/config-settings.c	Tue Nov 16 19:51:46 2010 +0000
+++ b/src/config/config-settings.c	Tue Nov 16 19:58:03 2010 +0000
@@ -37,7 +37,7 @@
 	.client_limit = 0,
 	.service_count = 0,
 	.idle_kill = 0,
-	.vsz_limit = -1U,
+	.vsz_limit = (uoff_t)-1,
 
 	.unix_listeners = { { &config_unix_listeners_buf,
 			      sizeof(config_unix_listeners[0]) } },
diff -r eeaf30cfad36 -r 8793036f6de8 src/dict/dict-settings.c
--- a/src/dict/dict-settings.c	Tue Nov 16 19:51:46 2010 +0000
+++ b/src/dict/dict-settings.c	Tue Nov 16 19:58:03 2010 +0000
@@ -36,7 +36,7 @@
 	.client_limit = 1,
 	.service_count = 0,
 	.idle_kill = 0,
-	.vsz_limit = -1U,
+	.vsz_limit = (uoff_t)-1,
 
 	.unix_listeners = { { &dict_unix_listeners_buf,
 			      sizeof(dict_unix_listeners[0]) } },
diff -r eeaf30cfad36 -r 8793036f6de8 src/director/director-settings.c
--- a/src/director/director-settings.c	Tue Nov 16 19:51:46 2010 +0000
+++ b/src/director/director-settings.c	Tue Nov 16 19:58:03 2010 +0000
@@ -49,7 +49,7 @@
 	.client_limit = 0,
 	.service_count = 0,
 	.idle_kill = -1U,
-	.vsz_limit = -1U,
+	.vsz_limit = (uoff_t)-1,
 
 	.unix_listeners = { { &director_unix_listeners_buf,
 			      sizeof(director_unix_listeners[0]) } },
diff -r eeaf30cfad36 -r 8793036f6de8 src/dns/dns-client-settings.c
--- a/src/dns/dns-client-settings.c	Tue Nov 16 19:51:46 2010 +0000
+++ b/src/dns/dns-client-settings.c	Tue Nov 16 19:58:03 2010 +0000
@@ -39,7 +39,7 @@
 	.client_limit = 1,
 	.service_count = 0,
 	.idle_kill = 0,
-	.vsz_limit = -1U,
+	.vsz_limit = (uoff_t)-1,
 
 	.unix_listeners = { { &dns_client_unix_listeners_buf,
 			      sizeof(dns_client_unix_listeners[0]) } },
diff -r eeaf30cfad36 -r 8793036f6de8 src/doveadm/doveadm-settings.c
--- a/src/doveadm/doveadm-settings.c	Tue Nov 16 19:51:46 2010 +0000
+++ b/src/doveadm/doveadm-settings.c	Tue Nov 16 19:58:03 2010 +0000
@@ -39,7 +39,7 @@
 	.client_limit = 1,
 	.service_count = 1,
 	.idle_kill = 0,
-	.vsz_limit = -1U,
+	.vsz_limit = (uoff_t)-1,
 
 	.unix_listeners = { { &doveadm_unix_listeners_buf,
 			      sizeof(doveadm_unix_listeners[0]) } },
diff -r eeaf30cfad36 -r 8793036f6de8 src/imap/imap-settings.c
--- a/src/imap/imap-settings.c	Tue Nov 16 19:51:46 2010 +0000
+++ b/src/imap/imap-settings.c	Tue Nov 16 19:58:03 2010 +0000
@@ -44,7 +44,7 @@
 	.client_limit = 1,
 	.service_count = 1,
 	.idle_kill = 0,
-	.vsz_limit = -1U,
+	.vsz_limit = (uoff_t)-1,
 
 	.unix_listeners = { { &imap_unix_listeners_buf,
 			      sizeof(imap_unix_listeners[0]) } },
diff -r eeaf30cfad36 -r 8793036f6de8 src/log/log-settings.c
--- a/src/log/log-settings.c	Tue Nov 16 19:51:46 2010 +0000
+++ b/src/log/log-settings.c	Tue Nov 16 19:58:03 2010 +0000
@@ -24,7 +24,7 @@
 	.client_limit = 0,
 	.service_count = 0,
 	.idle_kill = 0,
-	.vsz_limit = -1U,
+	.vsz_limit = (uoff_t)-1,
 
 	.unix_listeners = ARRAY_INIT,
 	.fifo_listeners = ARRAY_INIT,
diff -r eeaf30cfad36 -r 8793036f6de8 src/pop3/pop3-settings.c
--- a/src/pop3/pop3-settings.c	Tue Nov 16 19:51:46 2010 +0000
+++ b/src/pop3/pop3-settings.c	Tue Nov 16 19:58:03 2010 +0000
@@ -44,7 +44,7 @@
 	.client_limit = 1,
 	.service_count = 1,
 	.idle_kill = 0,
-	.vsz_limit = -1U,
+	.vsz_limit = (uoff_t)-1,
 
 	.unix_listeners = { { &pop3_unix_listeners_buf,
 			      sizeof(pop3_unix_listeners[0]) } },
diff -r eeaf30cfad36 -r 8793036f6de8 src/ssl-params/ssl-params-settings.c
--- a/src/ssl-params/ssl-params-settings.c	Tue Nov 16 19:51:46 2010 +0000
+++ b/src/ssl-params/ssl-params-settings.c	Tue Nov 16 19:58:03 2010 +0000
@@ -45,7 +45,7 @@
 	.client_limit = 0,
 	.service_count = 0,
 	.idle_kill = 0,
-	.vsz_limit = -1U,
+	.vsz_limit = (uoff_t)-1,
 
 	.unix_listeners = { { &ssl_params_unix_listeners_buf,
 			      sizeof(ssl_params_unix_listeners[0]) } },
diff -r eeaf30cfad36 -r 8793036f6de8 src/util/tcpwrap-settings.c
--- a/src/util/tcpwrap-settings.c	Tue Nov 16 19:51:46 2010 +0000
+++ b/src/util/tcpwrap-settings.c	Tue Nov 16 19:58:03 2010 +0000
@@ -26,7 +26,7 @@
 	.client_limit = 1,
 	.service_count = 0,
 	.idle_kill = 0,
-	.vsz_limit = -1U,
+	.vsz_limit = (uoff_t)-1,
 
 	.unix_listeners = ARRAY_INIT,
 	.fifo_listeners = ARRAY_INIT,


More information about the dovecot-cvs mailing list