-
-
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: Avoid sending multiple tagged responses on cross-server COP…
…Y/MOVE. A regression was introduced in commit 5228300, which passes along all untagged responses received while waiting for the tagged response from a remote server. This is generally an improvement, since we want to pass the untagged responses along, but not the tagged response in cases where we generate our own tagged response. Doing so could cause clients like libetpan to lose synchronization since they would receive a tagged response from the remote server followed by the untagged response that we generate. For these cases, pass through all untagged responses received, but not the final tagged response from the remote server. Additional checks have also been added to trigger assertions if multiple tagged responses are sent to the client, to help catch any recurring instances of this bug.
- Loading branch information
1 parent
22c91ac
commit 5800b61
Showing
4 changed files
with
34 additions
and
11 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