dovecot-1.1: imap: Mailbox closing command shouldn't hang on wai...
dovecot at dovecot.org
dovecot at dovecot.org
Tue May 26 02:30:10 EEST 2009
details: http://hg.dovecot.org/dovecot-1.1/rev/5039adc82996
changeset: 8287:5039adc82996
user: Timo Sirainen <tss at iki.fi>
date: Mon May 25 19:30:05 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 68a7068c7675 -r 5039adc82996 src/imap/client.c
--- a/src/imap/client.c Sun May 24 18:08:58 2009 -0400
+++ b/src/imap/client.c Mon May 25 19:30:05 2009 -0400
@@ -509,8 +509,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