Commit 4e41a9bb 4e41a9bb8265482d00f01af8c83cdde1359b8db1 by Sergey Poznyakoff

Updated

1 parent 83bdd70a
Showing 1 changed file with 24 additions and 0 deletions
1 2005-02-16 Sergey Poznyakoff 1 2005-02-16 Sergey Poznyakoff
2 2
3 Fix a long-standing issue in mailbox and imap4d:
4 be able to handle a case when a third-party program deletes
5 some messages in the mailbox being open by imap4d (imap4d
6 cannot and should not lock it, hence the possibility).
7
8 * mailbox/amd.c (amd_pool_flush): New function.
9 (amd_close): Call amd_pool_flush()
10 and initialize amd data so that subsequent amd_open() works
11 properly.
12 (amd_destroy): Call amd_pool_flush.
13 * mailbox/mbox/mbox.c (mbox_close): Initialize all private data
14 so that subsequent mailbox_open() works properly.
15 (mbox_is_updated): Updated comment
16
17 * imap4d/bye.c (imap4d_bye0): Handle ERR_MAILBOX_CORRUPTED
18 * imap4d/imap4d.h (ERR_MAILBOX_CORRUPTED): New error code.
19 (imap4d_set_observer): New function
20 * imap4d/select.c (imap4d_select0): Call imap4d_set_observer()
21 * imap4d/sync.c (imap4d_set_observer): New function.
22 (imap4d_sync): Check if the mailbox was shrunk (in libmailbox
23 terms 'corrupted'). If so, reopen it and issue untagged alert.
24
25 2005-02-16 Sergey Poznyakoff
26
3 * imap4d/auth_gsasl.c (cb_validate): Provide normal authentication 27 * imap4d/auth_gsasl.c (cb_validate): Provide normal authentication
4 for PLAIN and LOGIN mechanisms. 28 for PLAIN and LOGIN mechanisms.
5 29
......