]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
imapc: Fix sending initial FETCH after reconnection SELECTs mailbox
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 25 Dec 2017 14:11:26 +0000 (16:11 +0200)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Thu, 18 Jan 2018 07:12:31 +0000 (09:12 +0200)
commitf8f30bd27e41e1041a8de0b97f35d7d75e0a412e
tree6db3dc667be057c6dc3da4aa32378dea8bc6394a
parent989d4299cbd252eace8b09175910cd2ab341bf8d
imapc: Fix sending initial FETCH after reconnection SELECTs mailbox

Move sending the FETCH when the SELECT returns tagged OK reply instead of
delaying it until mailbox is next synced. Most importantly this allows
sending the FETCH before any retried commands that are also sent after
SELECT receives tagged reply.
src/lib-storage/index/imapc/imapc-mailbox.c
src/lib-storage/index/imapc/imapc-storage.c
src/lib-storage/index/imapc/imapc-storage.h
src/lib-storage/index/imapc/imapc-sync.c
src/lib-storage/index/imapc/imapc-sync.h