dovecot-2.1: lmtp: Fixed hanging on proxying if remote server wa...

dovecot at dovecot.org dovecot at dovecot.org
Tue Oct 2 21:36:49 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/38727d3e90ec
changeset: 14741:38727d3e90ec
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Oct 02 21:36:43 2012 +0300
description:
lmtp: Fixed hanging on proxying if remote server was down.
Patch by Jack Bates.

diffstat:

 src/lmtp/lmtp-proxy.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (10 lines):

diff -r 6cac808c4bd8 -r 38727d3e90ec src/lmtp/lmtp-proxy.c
--- a/src/lmtp/lmtp-proxy.c	Fri Sep 28 15:12:28 2012 +0300
+++ b/src/lmtp/lmtp-proxy.c	Tue Oct 02 21:36:43 2012 +0300
@@ -300,4 +300,6 @@
 		lmtp_client_send(conn->client, conn->data_input);
 		lmtp_client_send_more(conn->client);
 	}
+	/* finish if all of the connections have already failed */
+	lmtp_proxy_try_finish(proxy);
 }


More information about the dovecot-cvs mailing list