From: Timo Sirainen Date: Tue, 19 Nov 2013 15:21:21 +0000 (+0200) Subject: lmtp: Make sure output is flushed before disconnection. X-Git-Tag: 2.2.8~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0cb546628b3e285c3da9433450e69714cede9785;p=thirdparty%2Fdovecot%2Fcore.git lmtp: Make sure output is flushed before disconnection. --- diff --git a/src/lmtp/client.c b/src/lmtp/client.c index 023991a59d..a1796eff78 100644 --- a/src/lmtp/client.c +++ b/src/lmtp/client.c @@ -259,6 +259,7 @@ void client_destroy(struct client *client, const char *prefix, const char *reason) { client_disconnect(client, prefix, reason); + o_stream_uncork(client->output); clients_count--; DLLIST_REMOVE(&clients, client);