dovecot-1.2: dict process wasn't restarted after SIGHUP was sent...

dovecot at dovecot.org dovecot at dovecot.org
Sun May 17 21:59:57 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/125862a5b52f
changeset: 9030:125862a5b52f
user:      Timo Sirainen <tss at iki.fi>
date:      Sun May 17 14:59:51 2009 -0400
description:
dict process wasn't restarted after SIGHUP was sent to master.

diffstat:

1 file changed, 5 insertions(+), 1 deletion(-)
src/master/dict-process.c |    6 +++++-

diffs (13 lines):

diff -r db2fdf3529ac -r 125862a5b52f src/master/dict-process.c
--- a/src/master/dict-process.c	Sun May 17 14:27:07 2009 -0400
+++ b/src/master/dict-process.c	Sun May 17 14:59:51 2009 -0400
@@ -248,4 +248,8 @@ void dict_processes_kill(void)
 			process->log = NULL;
 		}
 	}
-}
+	if (dict_listener->io == NULL) {
+		dict_listener->io = io_add(dict_listener->fd, IO_READ,
+					   dict_listener_input, dict_listener);
+	}
+}


More information about the dovecot-cvs mailing list