]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lmtp proxy: After all DATA input is read, stop trying to read more of it.
authorTimo Sirainen <tss@iki.fi>
Mon, 9 Nov 2009 20:00:59 +0000 (15:00 -0500)
committerTimo Sirainen <tss@iki.fi>
Mon, 9 Nov 2009 20:00:59 +0000 (15:00 -0500)
--HG--
branch : HEAD

src/lmtp/lmtp-proxy.c

index 73023e5a29059ebae46751b8dad952b7763dc444..139d41158498b96be4f6908e54e8c5e744e5ca6a 100644 (file)
@@ -330,6 +330,7 @@ static bool lmtp_proxy_data_read(struct lmtp_proxy *proxy)
                else {
                        /* finished reading data input. now we'll just have to
                           wait for replies. */
+                       lmtp_proxy_wait_for_output(proxy);
                }
                return FALSE;
        case 0: