]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
imapc: Use UID SEARCH instead of SEARCH
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 25 Apr 2017 09:39:04 +0000 (12:39 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 26 Apr 2017 07:22:25 +0000 (10:22 +0300)
commitce59b1bdd19f5c266ed6321b0ceca07f5600d345
treef35d489811d63d1438514a76380d11cd73137c0c
parent2c84071850004f13b1881a740e88589aaf086599
imapc: Use UID SEARCH instead of SEARCH

UIDs work better for some broken IMAP servers, so it's safer to use it.

Keep using sequences for ESEARCH, since servers supporting it aren't at
least yet known to be broken and the search result with sequences is
smaller.
src/lib-storage/index/imapc/imapc-search.c