dovecot-2.0: lib-master: When master dies, stop listening for ne...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Jun 1 22:21:26 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/33727c70e89d
changeset: 9431:33727c70e89d
user: Timo Sirainen <tss at iki.fi>
date: Mon Jun 01 15:21:21 2009 -0400
description:
lib-master: When master dies, stop listening for new connections.
diffstat:
1 file changed, 2 insertions(+)
src/lib-master/master-service.c | 2 ++
diffs (12 lines):
diff -r ace6f94f60bc -r 33727c70e89d src/lib-master/master-service.c
--- a/src/lib-master/master-service.c Mon Jun 01 15:19:41 2009 -0400
+++ b/src/lib-master/master-service.c Mon Jun 01 15:21:21 2009 -0400
@@ -228,6 +228,8 @@ static void master_status_error(void *co
if (service->master_status.available_count ==
service->total_available_count)
master_service_stop(service);
+ else
+ io_listeners_remove(service);
}
void master_service_init_finish(struct master_service *service)
More information about the dovecot-cvs
mailing list