Re: [Imap-protocol] Re: Efficiently handling sequence numbers
Bron Gondwana <[email protected]>
| Newsgroups | gmane.mail.imap.general |
|---|---|
| Message-ID | <1352884703.18213.140661153457017.064C6E88@webmail.messagingengine.com> |
On Wed, Nov 14, 2012, at 09:56 AM, Arnt Gulbrandsen wrote: > On 11/14/2012 01:00 AM, Brandon Long wrote: > > Anyone know what the point of that restriction is? > > It broke a server, mrc's perhaps, which used a locking scheme where > select locks a mailbox and status does too, and the two locks conflict > even though they are owned by the same process. Yeah, that happens in Cyrus too. So we check if there's a selected mailbox and if it has the same name as the one being asked for a status response, and if so we call index_status() on the index state rather than statuscache_status() with the mailbox name. Still, IMAP is already a crazy-stateful protocol, so what's one more piece of state for every client track of on every connection and never get wrong... Bron. -- Bron Gondwana [email protected] _______________________________________________ Imap-protocol mailing list [email protected] http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol