On Sun, 9 Apr 2006 03:13:34 +0300 Nerijus Baliunas <[EMAIL PROTECTED]> wrote:

NB> On Sun, 9 Apr 2006 00:03:21 +0200 Vadim Zeitlin <[EMAIL PROTECTED]> wrote:
NB> 
NB> > NB> On Mon, 13 Feb 2006 18:32:51 +0100 Vadim Zeitlin <[EMAIL PROTECTED]> 
wrote:
NB> > NB> 
NB> > NB> VZ> NB> Moving to m-dev. It seems it's the same problem I reported a 
few times -
NB> > NB> VZ> NB> when new message arrives in IMAP folder, but M does not see 
it yet, I
NB> > NB> VZ> NB> press expunge (my deleted messages are marked as deleted, not 
moved to trash)
NB> > NB> VZ> NB> and then after a loooong delay I get an assert (can provide 
it). Would be nice to fix
NB> > NB> VZ> NB> it before the release ;)

 Ok, this bug should be fixed now as well. It was due to an unforeseen flow
of control when the server tries to be helpful (no sarcasm here, it really
does and it's unfortunate that M is not smart enough to profit from it) and
sends us the flags for the new message which just appeared in the mailbox
when replying to out EXPUNGE command. The trouble is that c-client can't
retrieve message details from the server at that moment (being inside its
own mail_expunge() function and not being reentrant) and so our attempts to
do it result in an error and generally mess things up. So now I just ignore
this unsolicited FETCH (FLAGS) response and while it means that we send an
extra request to the server, it's not that bad because we need more info
than just flags anyhow (subject, sender, date, ... and the rest of the
message envelope) and at least it does seem to work correctly.

 Thanks once again for providing the test server!
VZ



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mahogany-Developers mailing list
Mahogany-Developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to