dovecot-2.0-sslstream: lmtp proxy: When client fails, don't stop...

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 13 02:56:26 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0-sslstream/rev/c48703f5ce25
changeset: 10334:c48703f5ce25
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Nov 16 16:06:27 2009 -0500
description:
lmtp proxy: When client fails, don't stop reading DATA input until "." is seen.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lmtp/lmtp-proxy.c |    2 +-

diffs (12 lines):

diff -r fed94dd1991b -r c48703f5ce25 src/lmtp/lmtp-proxy.c
--- a/src/lmtp/lmtp-proxy.c	Mon Nov 16 16:05:51 2009 -0500
+++ b/src/lmtp/lmtp-proxy.c	Mon Nov 16 16:06:27 2009 -0500
@@ -193,7 +193,7 @@ static void lmtp_proxy_finish(struct lmt
 
 static void lmtp_proxy_try_finish(struct lmtp_proxy *proxy)
 {
-	if (lmtp_proxy_send_replies(proxy))
+	if (lmtp_proxy_send_replies(proxy) && proxy->data_input->eof)
 		lmtp_proxy_finish(proxy);
 }
 


More information about the dovecot-cvs mailing list