Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imap-hibernate: Fix "DONE" handling.
1. If only "DONE\r\n" was sent, it randomly failed with BAD because of out-of-bounds buffer read. 2. If "DONE\r\n" was followed by a command tag but no space afterwards, we kept waiting for the input to continue. But since the DONE was already sent, we should break the IDLE already at that point without any further waiting.
- Loading branch information