dovecot-2.0: lib-lda: Removed corking from lmtp client input, fo...

dovecot at dovecot.org dovecot at dovecot.org
Wed Nov 16 22:24:42 EET 2011


details:   http://hg.dovecot.org/dovecot-2.0/rev/57b4c6b7f407
changeset: 12975:57b4c6b7f407
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Nov 16 22:24:31 2011 +0200
description:
lib-lda: Removed corking from lmtp client input, for now..
Apparently causing crashes and I want a new release soon.

diffstat:

 src/lib-lda/lmtp-client.c |  3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r ac5e9e70ca6b -r 57b4c6b7f407 src/lib-lda/lmtp-client.c
--- a/src/lib-lda/lmtp-client.c	Wed Nov 16 22:14:35 2011 +0200
+++ b/src/lib-lda/lmtp-client.c	Wed Nov 16 22:24:31 2011 +0200
@@ -433,10 +433,8 @@
 	const char *line;
 
 	lmtp_client_ref(client);
-	o_stream_cork(client->output);
 	while ((line = i_stream_read_next_line(client->input)) != NULL) {
 		if (lmtp_client_input_line(client, line) < 0) {
-			o_stream_uncork(client->output);
 			lmtp_client_unref(&client);
 			return;
 		}
@@ -451,7 +449,6 @@
 		lmtp_client_fail(client, ERRSTR_TEMP_REMOTE_FAILURE
 				 " (disconnected in input)");
 	}
-	o_stream_uncork(client->output);
 	lmtp_client_unref(&client);
 }
 


More information about the dovecot-cvs mailing list