dovecot-2.2: lib-master: If fifo isn't accepted, don't double-de...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Apr 2 23:32:22 EEST 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/5f365feb5a2b
changeset: 16140:5f365feb5a2b
user: Timo Sirainen <tss at iki.fi>
date: Tue Apr 02 23:32:10 2013 +0300
description:
lib-master: If fifo isn't accepted, don't double-destroy the connection.
diffstat:
src/lib-master/master-service.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (13 lines):
diff -r c256b246302d -r 5f365feb5a2b src/lib-master/master-service.c
--- a/src/lib-master/master-service.c Tue Apr 02 23:29:43 2013 +0300
+++ b/src/lib-master/master-service.c Tue Apr 02 23:32:10 2013 +0300
@@ -814,8 +814,7 @@
if (close(conn.fd) < 0)
i_error("close(service connection) failed: %m");
master_service_client_connection_destroyed(service);
- }
- if (conn.fifo) {
+ } else if (conn.fifo) {
/* reading FIFOs stays open forever, don't count them
as real clients */
master_service_client_connection_destroyed(service);
More information about the dovecot-cvs
mailing list