dovecot-1.2: imap: If client disconnects while appending, don't ...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Oct 20 20:21:23 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/d7f8dbc38fd7
changeset: 9445:d7f8dbc38fd7
user: Timo Sirainen <tss at iki.fi>
date: Tue Oct 20 13:21:13 2009 -0400
description:
imap: If client disconnects while appending, don't treat the rest of the message as commands.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/imap/cmd-append.c | 2 +-
diffs (12 lines):
diff -r a5d8d201bd39 -r d7f8dbc38fd7 src/imap/cmd-append.c
--- a/src/imap/cmd-append.c Sun Oct 18 18:37:03 2009 -0400
+++ b/src/imap/cmd-append.c Tue Oct 20 13:21:13 2009 -0400
@@ -229,7 +229,7 @@ static bool cmd_append_continue_parsing(
/* [<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);
More information about the dovecot-cvs
mailing list