On Thu, Feb 16, 2006 at 01:01:43PM +0100, wrote:
> On Thu, Feb 16, 2006 at 02:11:32PM +0200, Timo Sirainen wrote:
> > On Thu, 2006-02-16 at 11:12 +0100, bd wrote:
> > > this _might_ be a mutt problem, I'am going to test this with etch later.
> >
> > I just fixed a couple of days ago one problem that caused mutt to close
> > connection and/or crash:
> >
> > 2006-02-13 18:35 Timo Sirainen <[EMAIL PROTECTED]>
> >
> > * src/imap/imap-sync.c: Don't notify client about changes in
> > messages it hasn't yet even been notified about.
>
> perhaps I can find the time to build a version containing this fix.
does not seem to work.
applied this patch:
--- ./dovecot-1.0.beta2/src/imap/imap-sync.c 2006-01-14 19:16:05.000000000
+0100
+++ ./dovecot/src/imap/imap-sync.c 2006-02-13 19:35:39.000000000 +0100
@@ -113,6 +113,14 @@
}
}
+ if (ctx->sync_rec.seq2 > ctx->messages_count) {
+ /* don't send change notifications of messages we
+ haven't even announced to client yet */
+ if (ctx->sync_rec.seq1 > ctx->messages_count)
+ continue;
+ ctx->sync_rec.seq2 = ctx->messages_count;
+ }
+
switch (ctx->sync_rec.type) {
case MAILBOX_SYNC_TYPE_FLAGS:
case MAILBOX_SYNC_TYPE_KEYWORDS:
--
A few hours grace before the madness begins again.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]