[dovecot-cvs] dovecot/src/imap cmd-idle.c,1.30,1.31
tss at dovecot.org
tss at dovecot.org
Sun Nov 12 11:31:45 UTC 2006
Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv12469
Modified Files:
cmd-idle.c
Log Message:
If mailbox is changed while syncing is being done, and the second sync's
changes aren't fully sent to the client, we hanged (quite rare I think).
Index: cmd-idle.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/cmd-idle.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- cmd-idle.c 6 Mar 2006 20:34:43 -0000 1.30
+++ cmd-idle.c 12 Nov 2006 11:31:42 -0000 1.31
@@ -196,6 +196,9 @@
/* more changes occurred while we were sending changes to
client */
idle_sync_now(client->mailbox, ctx);
+ /* NOTE: this recurses back to this function,
+ so we return here instead of doing everything twice. */
+ return FALSE;
}
client->output_pending = FALSE;
More information about the dovecot-cvs
mailing list