-
-
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: Properly wait for tagged response for proxied APPEND/MOVE.
Previously, we were not properly handling untagged responses while waiting for the tagged response. Initially, not receiving the tagged response immediately would cause failure, since we were only checking if the first response read was expected. The remote MOVE/COPY handler was updated previously to tolerate untagged responses while waiting for the tagged response, but these were not passed along to the client, as they should be. A similar issue existed with APPENDs to a remote mailbox. Now, in both cases, we properly wait for the tagged response, while passing along everything received in the meantime to the client.
- Loading branch information
1 parent
b41845b
commit 5228300
Showing
3 changed files
with
61 additions
and
16 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