dovecot-2.2: imap: Don't disconnect due to inconsistent mailbox ...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Jun 30 11:37:36 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/d09ecf549f6a
changeset: 17538:d09ecf549f6a
user: Timo Sirainen <tss at iki.fi>
date: Mon Jun 30 14:28:31 2014 +0300
description:
imap: Don't disconnect due to inconsistent mailbox unless the mailbox is the selected mailbox.
diffstat:
src/imap/imap-commands-util.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diffs (16 lines):
diff -r 3f9d15b600b1 -r d09ecf549f6a src/imap/imap-commands-util.c
--- a/src/imap/imap-commands-util.c Fri Jun 27 17:39:52 2014 +0300
+++ b/src/imap/imap-commands-util.c Mon Jun 30 14:28:31 2014 +0300
@@ -173,12 +173,6 @@
void client_send_box_error(struct client_command_context *cmd,
struct mailbox *box)
{
- if (mailbox_is_inconsistent(box)) {
- /* we can't do forced CLOSE, so have to disconnect */
- client_disconnect_with_error(cmd->client,
- "IMAP session state is inconsistent, please relogin.");
- return;
- }
client_send_storage_error(cmd, mailbox_get_storage(box));
}
More information about the dovecot-cvs
mailing list