[dovecot-cvs] dovecot/src/imap cmd-idle.c,1.30.2.1,1.30.2.2
tss at dovecot.org
tss at dovecot.org
Sun Nov 12 11:31:42 UTC 2006
Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv12473
Modified Files:
Tag: branch_1_0
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.2.1
retrieving revision 1.30.2.2
diff -u -d -r1.30.2.1 -r1.30.2.2
--- cmd-idle.c 4 Aug 2006 17:46:09 -0000 1.30.2.1
+++ cmd-idle.c 12 Nov 2006 11:31:40 -0000 1.30.2.2
@@ -209,6 +209,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