dovecot-2.1: master: Reset service's listen_pending flag when it...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Oct 25 21:35:00 EEST 2011
details: http://hg.dovecot.org/dovecot-2.1/rev/a95bb5877f00
changeset: 13640:a95bb5877f00
user: Timo Sirainen <tss at iki.fi>
date: Thu Oct 20 18:26:15 2011 +0300
description:
master: Reset service's listen_pending flag when it gets a new available process.
diffstat:
src/master/service-monitor.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 221ec0404d8e -r a95bb5877f00 src/master/service-monitor.c
--- a/src/master/service-monitor.c Thu Oct 20 16:54:36 2011 +0300
+++ b/src/master/service-monitor.c Thu Oct 20 18:26:15 2011 +0300
@@ -216,8 +216,8 @@
reach connection limit */
service_login_notify(service, TRUE);
+ service_monitor_listen_stop(service);
service->listen_pending = TRUE;
- service_monitor_listen_stop(service);
} else {
/* just accept and close the connection, so it's clear that
this is happening because of the limit, rather than because
@@ -302,6 +302,7 @@
io_remove(&l->io);
}
service->listening = FALSE;
+ service->listen_pending = FALSE;
}
static int service_login_create_notify_fd(struct service *service)
More information about the dovecot-cvs
mailing list