]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
imapc: Fix prefetching specific headers
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 12 Jun 2017 21:57:08 +0000 (00:57 +0300)
committerGitLab <gitlab@git.dovecot.net>
Wed, 14 Jun 2017 14:21:29 +0000 (17:21 +0300)
commitfe080d248e2bd374e9d86c8a34ec6f14e88b8a14
tree88966624b1118db0e74a9171e457831fbd535a13
parent25fecf139625e35bbcd9262be8b28cbb4e8407fa
imapc: Fix prefetching specific headers

FETCH BODY[HEADER.FIELDS ...] shouldn't be used if imapc_features doesn't
include fetch-headers. Also neither this nor BODY[HEADER] should be sent
if we already have header/body stream.
src/lib-storage/index/imapc/imapc-mail-fetch.c