]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lmtp: Make sure output is flushed before disconnection.
authorTimo Sirainen <tss@iki.fi>
Tue, 19 Nov 2013 15:21:21 +0000 (17:21 +0200)
committerTimo Sirainen <tss@iki.fi>
Tue, 19 Nov 2013 15:21:21 +0000 (17:21 +0200)
src/lmtp/client.c

index 023991a59dfc96955a9e326cc6310d23ec964299..a1796eff786b201e154d6cebcf0e4d92fb0c410a 100644 (file)
@@ -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);