diff options
author | Kevin Kuehler <keur@xcf.berkeley.edu> | 2019-11-10 14:17:55 -0800 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-11-10 17:19:23 -0500 |
commit | 8a848303fe0f19fde02793024299356bcdb06048 (patch) | |
tree | 5c5da751ca1b06f237fb978e1f9b0acc7879c167 /commands/prompt.go | |
parent | 08574104bc9ba550153888cfdc4ebf28d500ce56 (diff) |
worker/imap: Fix seqMap race condition
When deleting a message, sometimes FetchDirectoryContents will fire.
FetchDirectoryContents will return a smaller set of UIDs since messages
have been deleted. This operation races with fetching from the seqMap in
client.ExpungeUpdate. Only recreate the seqMap if it can grow so that
messages will continue to be expunged.
Signed-off-by: Kevin Kuehler <keur@xcf.berkeley.edu>
Diffstat (limited to 'commands/prompt.go')
0 files changed, 0 insertions, 0 deletions