[dovecot-cvs] dovecot/src/master mail-process.c, 1.86,
1.87 master-settings.c, 1.120, 1.121 master-settings.h, 1.79, 1.80
cras at dovecot.org
cras at dovecot.org
Wed Apr 12 14:42:59 EEST 2006
Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv134/src/master
Modified Files:
mail-process.c master-settings.c master-settings.h
Log Message:
Added shutdown_clients setting to control if existing imap/pop3 processes
should be killed when master is.
Index: mail-process.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/mail-process.c,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- mail-process.c 9 Apr 2006 14:00:01 -0000 1.86
+++ mail-process.c 12 Apr 2006 11:42:57 -0000 1.87
@@ -247,6 +247,8 @@
env_put("MBOX_VERY_DIRTY_SYNCS=1");
if (set->mbox_lazy_writes)
env_put("MBOX_LAZY_WRITES=1");
+ if (set->shutdown_clients)
+ env_put("STDERR_CLOSE_SHUTDOWN=1");
(void)umask(set->umask);
env_put(t_strconcat("LOCK_METHOD=", set->lock_method, NULL));
Index: master-settings.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings.c,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -d -r1.120 -r1.121
--- master-settings.c 9 Apr 2006 15:50:53 -0000 1.120
+++ master-settings.c 12 Apr 2006 11:42:57 -0000 1.121
@@ -71,6 +71,7 @@
DEF(SET_BOOL, ssl_verify_client_cert),
DEF(SET_BOOL, disable_plaintext_auth),
DEF(SET_BOOL, verbose_ssl),
+ DEF(SET_BOOL, shutdown_clients),
/* login */
DEF(SET_STR, login_dir),
@@ -274,6 +275,7 @@
MEMBER(ssl_verify_client_cert) FALSE,
MEMBER(disable_plaintext_auth) TRUE,
MEMBER(verbose_ssl) FALSE,
+ MEMBER(shutdown_clients) TRUE,
/* login */
MEMBER(login_dir) "login",
Index: master-settings.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings.h,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- master-settings.h 9 Apr 2006 15:50:53 -0000 1.79
+++ master-settings.h 12 Apr 2006 11:42:57 -0000 1.80
@@ -36,6 +36,7 @@
bool ssl_verify_client_cert;
bool disable_plaintext_auth;
bool verbose_ssl;
+ bool shutdown_clients;
/* login */
const char *login_dir;
More information about the dovecot-cvs
mailing list