dovecot-2.0: anvil: Don't die until all of our clients have gone.

dovecot at dovecot.org dovecot at dovecot.org
Wed Nov 10 18:09:19 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/67fbf09d3fa5
changeset: 12413:67fbf09d3fa5
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Nov 10 16:09:14 2010 +0000
description:
anvil: Don't die until all of our clients have gone.

diffstat:

 src/anvil/main.c |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r e60061623012 -r 67fbf09d3fa5 src/anvil/main.c
--- a/src/anvil/main.c	Tue Nov 09 21:42:58 2010 +0000
+++ b/src/anvil/main.c	Wed Nov 10 16:09:14 2010 +0000
@@ -66,6 +66,9 @@
 	restrict_access_by_env(NULL, FALSE);
 	restrict_access_allow_coredumps(TRUE);
 
+	/* delay dying until all of our clients are gone */
+	master_service_set_die_with_master(master_service, FALSE);
+
 	master_service_init_finish(master_service);
 	connect_limit = connect_limit_init();
 	penalty = penalty_init();


More information about the dovecot-cvs mailing list