dovecot-2.0: master: Assert-crashfix when service process limit ...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Oct 25 22:48:23 EEST 2011
details: http://hg.dovecot.org/dovecot-2.0/rev/878ddbd54f44
changeset: 12952:878ddbd54f44
user: Timo Sirainen <tss at iki.fi>
date: Tue Oct 25 22:58:02 2011 +0300
description:
master: Assert-crashfix when service process limit was reached.
Introduced by commit d4e15513192a.
diffstat:
src/master/service-monitor.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r ad2ebc237570 -r 878ddbd54f44 src/master/service-monitor.c
--- a/src/master/service-monitor.c Tue Oct 25 21:44:38 2011 +0300
+++ b/src/master/service-monitor.c Tue Oct 25 22:58:02 2011 +0300
@@ -216,6 +216,8 @@
static void service_monitor_listen_pending(struct service *service)
{
+ i_assert(service->process_avail == 0);
+
service_monitor_listen_stop(service);
service->listen_pending = TRUE;
@@ -297,7 +299,7 @@
break;
}
}
- if (i > 0 && service->listening) {
+ if (i > 0) {
/* we created some processes, they'll do the listening now */
service_monitor_listen_stop(service);
}
More information about the dovecot-cvs
mailing list