]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imap: If client disconnects while appending, don't treat the rest of the message...
authorTimo Sirainen <tss@iki.fi>
Tue, 20 Oct 2009 17:21:13 +0000 (13:21 -0400)
committerTimo Sirainen <tss@iki.fi>
Tue, 20 Oct 2009 17:21:13 +0000 (13:21 -0400)
--HG--
branch : HEAD

src/imap/cmd-append.c

index b4c47a042db2aa615138c05867a0d872639a71f8..1f9bc2980bbcca0c3d304d044ccffe263e5f157d 100644 (file)
@@ -230,7 +230,7 @@ static bool cmd_append_continue_parsing(struct client_command_context *cmd)
        /* [<flags>] [<internal date>] <message literal> */
        ret = imap_parser_read_args(ctx->save_parser, 0,
                                    IMAP_PARSE_FLAG_LITERAL_SIZE, &args);
-       if (ret == -1 || client->output->closed) {
+       if (ret == -1) {
                if (!ctx->failed)
                        client_send_command_error(cmd, NULL);
                cmd_append_finish(ctx);