Mercurial > dovecot > core-2.2
changeset 15287:38727d3e90ec
lmtp: Fixed hanging on proxying if remote server was down.
Patch by Jack Bates.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 02 Oct 2012 21:36:43 +0300 |
parents | 6cac808c4bd8 |
children | 83695d6d41aa |
files | src/lmtp/lmtp-proxy.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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); }