imap4d: CLOSE should not send EXPUNGE responses. Fix error checking in STORE.
* imap4d/imap4d.h (silent_expunge): New global. * imap4d/sync.c (silent_expunge): New variable. (action): Suppress EXPUNGE responses if silent_expunge is set. * imap4d/close.c (imap4d_close0): Set silent_expunge before calling mu_mailbox_flush. * imap4d/tests/close-expunge.at: New test. * imap4d/tests/testsuite.at: Include close-expunge.at. * imap4d/tests/Makefile.am (TESTSUITE_AT): Add close-expunge.at. * imap4d/fetch.c (fetch_thunk): Emit BAD response if failed to parse message set. * imap4d/store.c (store_thunk): Emit BAD response if failed to parse flags.
Showing
8 changed files
with
74 additions
and
13 deletions
imap4d/tests/close-expunge.at
0 → 100644
-
Please register or sign in to post a comment