dovecot-2.0: director: Outgoing director connections shouldn't b...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Jun 17 18:59:55 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/467ca06a7dbe
changeset: 11569:467ca06a7dbe
user: Timo Sirainen <tss at iki.fi>
date: Thu Jun 17 16:59:52 2010 +0100
description:
director: Outgoing director connections shouldn't be counted as master clients.
diffstat:
src/director/director-connection.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r 81e496a5b412 -r 467ca06a7dbe src/director/director-connection.c
--- a/src/director/director-connection.c Thu Jun 17 16:00:01 2010 +0100
+++ b/src/director/director-connection.c Thu Jun 17 16:59:52 2010 +0100
@@ -758,9 +758,10 @@
o_stream_unref(&conn->output);
if (close(conn->fd) < 0)
i_error("close(director connection) failed: %m");
+
+ if (conn->in)
+ master_service_client_connection_destroyed(master_service);
i_free(conn);
-
- master_service_client_connection_destroyed(master_service);
}
static void director_connection_timeout(struct director_connection *conn)
More information about the dovecot-cvs
mailing list