From: Timo Sirainen Date: Wed, 9 Nov 2011 16:14:04 +0000 (+0200) Subject: imap/pop3-login: Use default_vsz_limit instead of adding our own. X-Git-Tag: 2.1.rc1~94 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ef56d74af7641298c506630cfba1a2ce197093c3;p=thirdparty%2Fdovecot%2Fcore.git 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. --- diff --git a/src/imap-login/imap-login-settings.c b/src/imap-login/imap-login-settings.c index b743cdec88..6d5a5eda7b 100644 --- a/src/imap-login/imap-login-settings.c +++ b/src/imap-login/imap-login-settings.c @@ -41,7 +41,7 @@ struct service_settings imap_login_service_settings = { .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 --git a/src/pop3-login/pop3-login-settings.c b/src/pop3-login/pop3-login-settings.c index 8a55ee6d4d..875a0a2536 100644 --- a/src/pop3-login/pop3-login-settings.c +++ b/src/pop3-login/pop3-login-settings.c @@ -41,7 +41,7 @@ struct service_settings pop3_login_service_settings = { .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,