dovecot-2.2: lmtp: Make sure output is flushed before disconnect...

dovecot at dovecot.org dovecot at dovecot.org
Tue Nov 19 17:21:40 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/5f946b807706
changeset: 16985:5f946b807706
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Nov 19 17:21:21 2013 +0200
description:
lmtp: Make sure output is flushed before disconnection.

diffstat:

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

diffs (11 lines):

diff -r 908283e74473 -r 5f946b807706 src/lmtp/client.c
--- a/src/lmtp/client.c	Tue Nov 19 16:13:12 2013 +0200
+++ b/src/lmtp/client.c	Tue Nov 19 17:21:21 2013 +0200
@@ -259,6 +259,7 @@
 		    const char *reason)
 {
 	client_disconnect(client, prefix, reason);
+	o_stream_uncork(client->output);
 
 	clients_count--;
 	DLLIST_REMOVE(&clients, client);


More information about the dovecot-cvs mailing list