dovecot-1.2: imap: Mailbox closing command shouldn't hang on wai...
dovecot at dovecot.org
dovecot at dovecot.org
Tue May 26 02:30:33 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/73b468723964
changeset: 9076:73b468723964
user: Timo Sirainen <tss at iki.fi>
date: Mon May 25 19:30:27 2009 -0400
description:
imap: Mailbox closing command shouldn't hang on waiting a delayed sync to finish.
diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
src/imap/client.c | 5 ++++-
diffs (16 lines):
diff -r d77225a64128 -r 73b468723964 src/imap/client.c
--- a/src/imap/client.c Sun May 24 18:09:12 2009 -0400
+++ b/src/imap/client.c Mon May 25 19:30:27 2009 -0400
@@ -532,8 +532,11 @@ void client_continue_pending_input(struc
/* the command is waiting for existing ambiguity causing
commands to finish. */
- if (client_command_check_ambiguity(cmd))
+ if (client_command_check_ambiguity(cmd)) {
+ /* we could be waiting for existing sync to finish */
+ cmd_sync_delayed(client);
return;
+ }
cmd->state = CLIENT_COMMAND_STATE_WAIT_INPUT;
}
More information about the dovecot-cvs
mailing list