-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net_imap: Fix assertion after UNSUBSCRIBE, remote STATUS parsing bug.
* imap_mbox_watcher: Fix missing break in case leading to EVENT_MAILBOX_UNSUBSCRIBE calling send_untagged_uidvalidity, leading to an assertion, when the event should just be ignored. * remote_status_cached has logic to search for the mailbox name with quotes and then to repeat without quotes. Fix typo where the search was repeated again with quotes a second time. * Respond with OK to UNSUBSCRIBE on a nonexistent folder, rather than NO. * Add additional descriptive error message for when remote STATUS fails. Related enhancements: * Add a few soft assertions on failure paths. * imap_client.c: Add assertions for invariant failures.
- Loading branch information
1 parent
c8d1bf3
commit 5827e4d
Showing
4 changed files
with
30 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters