changeset 10278:84a1776dd1c3 HEAD

lmtp proxy: After all DATA input is read, stop trying to read more of it.
author Timo Sirainen <tss@iki.fi>
date Mon, 09 Nov 2009 15:00:59 -0500
parents 09dd23dd6ee0
children b93d2e668eba
files src/lmtp/lmtp-proxy.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/lmtp/lmtp-proxy.c	Mon Nov 09 14:59:54 2009 -0500
+++ b/src/lmtp/lmtp-proxy.c	Mon Nov 09 15:00:59 2009 -0500
@@ -330,6 +330,7 @@
 		else {
 			/* finished reading data input. now we'll just have to
 			   wait for replies. */
+			lmtp_proxy_wait_for_output(proxy);
 		}
 		return FALSE;
 	case 0: