dovecot-2.0: lib-auth: If connection to auth-master gets lost, r...

dovecot at dovecot.org dovecot at dovecot.org
Wed Mar 16 18:20:50 EET 2011


details:   http://hg.dovecot.org/dovecot-2.0/rev/7d9db422549a
changeset: 12684:7d9db422549a
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Mar 16 18:20:47 2011 +0200
description:
lib-auth: If connection to auth-master gets lost, reconnect.

diffstat:

 src/lib-auth/auth-master.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 18d801449444 -r 7d9db422549a src/lib-auth/auth-master.c
--- a/src/lib-auth/auth-master.c	Wed Mar 16 17:59:07 2011 +0200
+++ b/src/lib-auth/auth-master.c	Wed Mar 16 18:20:47 2011 +0200
@@ -372,6 +372,7 @@
 	if (conn->output->stream_errno != 0) {
 		errno = conn->output->stream_errno;
 		i_error("write(auth socket) failed: %m");
+		conn->aborted = TRUE;
 	} else {
 		io_loop_run(conn->ioloop);
 	}


More information about the dovecot-cvs mailing list