dovecot-2.0: lmtp proxy: Assert-crashfix to handling DATA input ...
    dovecot at dovecot.org 
    dovecot at dovecot.org
       
    Tue Nov 24 22:36:34 EET 2009
    
    
  
details:   http://hg.dovecot.org/dovecot-2.0/rev/99e069c98709
changeset: 10401:99e069c98709
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Nov 24 15:36:30 2009 -0500
description:
lmtp proxy: Assert-crashfix to handling DATA input timeout.
diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
src/lmtp/lmtp-proxy.c |    3 ++-
diffs (13 lines):
diff -r 96152031f5d9 -r 99e069c98709 src/lmtp/lmtp-proxy.c
--- a/src/lmtp/lmtp-proxy.c	Tue Nov 24 15:11:13 2009 -0500
+++ b/src/lmtp/lmtp-proxy.c	Tue Nov 24 15:36:30 2009 -0500
@@ -175,7 +175,8 @@ static void lmtp_proxy_try_finish(struct
 static void lmtp_proxy_try_finish(struct lmtp_proxy *proxy)
 {
 	if (lmtp_proxy_send_data_replies(proxy) &&
-	    (proxy->data_input->eof || proxy->data_input->stream_errno != 0))
+	    (proxy->data_input->eof || proxy->data_input->stream_errno != 0 ||
+	     proxy->input_timeout))
 		lmtp_proxy_finish(proxy);
 }
 
    
    
More information about the dovecot-cvs
mailing list