Mercurial > dovecot > core-2.2
view .inslog2 @ 22908:27af5f2acc53
imapc: Fix local state if mailbox is empty after reconnection
If local indexes had more than 0 mails, but after reconnection the remote
IMAP server replied with "* 0 EXISTS", the mails in local index weren't
expunged. This could have resulted in:
Panic: file imapc-sync.c: line 328 (imapc_initial_sync_check): assertion failed: (mail_index_is_expunged(view, lseq) || seq_range_exists(&ctx->mbox->delayed_expunged_uids, luid))
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Sun, 25 Mar 2018 23:15:58 +0300 |
parents | 3b1985cbc908 |
children |
line wrap: on
line source
92e1e6668c743330e53b24b2c424b27b47ee62a6e49d1c2b3d9321ec8ae8e79a628ccb 74a9b29fe624b1e15990fb1c56598fa94c2b93b455e388c9b4a2855f296d0503072fb2 71b63590cf183ec61f83cc8431c3dd18b93ac37465c33da8abbb40e40695858c46dac8 3016ee7c4b6ec0ed7f2b9c4ae30b9147cc070188818915e6125a64ae85eeb4