dovecot-2.0-sslstream: imap: If client disconnects while appendi...

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 13 02:55:15 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0-sslstream/rev/f3cdf16a31a5
changeset: 10104:f3cdf16a31a5
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 57134fd23d4c -r f3cdf16a31a5 src/imap/cmd-append.c
--- a/src/imap/cmd-append.c	Mon Oct 19 21:44:08 2009 -0400
+++ b/src/imap/cmd-append.c	Tue Oct 20 13:21:13 2009 -0400
@@ -230,7 +230,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