| Summary: | Success of the `CLOSE` command is not enough and the subsequent SELECT fails because of a missing [CLOSED] response code | ||
|---|---|---|---|
| Product: | [Applications] trojita | Reporter: | Jan Kundrát <jkt> |
| Component: | IMAP | Assignee: | Trojita default assignee <trojita-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | git | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/trojita/e99a118eb03f15be2fad44950a36d4bf01c621fa | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Jan Kundrát
2016-05-09 14:47:10 UTC
Git commit e99a118eb03f15be2fad44950a36d4bf01c621fa by Jan Kundrát. Committed on 11/05/2016 at 08:24. Pushed by gerrit into branch 'master'. IMAP: Do not expect [CLOSED] when CLOSE succeeded The idea is that the CLOSE's tagged response handler should update the connection state. We only issue the (destructive by its nature) CLOSE command upon deleting a currently selected mailbox, hence the place of the fix. Change-Id: Ic9706db2a7edfc60eb087bdc70d5345cd06329a5 M +1 -0 src/Imap/Tasks/KeepMailboxOpenTask.cpp M +51 -0 tests/Imap/test_Imap_Tasks_DeleteMailbox.cpp M +5 -0 tests/Imap/test_Imap_Tasks_DeleteMailbox.h http://commits.kde.org/trojita/e99a118eb03f15be2fad44950a36d4bf01c621fa |