[dovecot/core] 6f4660: imapc: Update mail size also when istream_opened()...
GitHub
noreply at github.com
Thu Mar 15 13:30:35 EET 2018
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 6f466048f1c1b601d5f06f76a3685ed863c7dc35
https://github.com/dovecot/core/commit/6f466048f1c1b601d5f06f76a3685ed863c7dc35
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-03-15 (Thu, 15 Mar 2018)
Changed paths:
M src/lib-storage/index/imapc/imapc-mail-fetch.c
Log Message:
-----------
imapc: Update mail size also when istream_opened() hook is called
When fetching a message body the cached message size was set. However,
if istream_opened() hook was used this wasn't done. If a client had
fetched both (RFC822.SIZE BODY.PEEK[]) and the server sent a wrong
RFC822.SIZE, that size was used for the message body size, which resulted
in "Cached message size larger than expected" errors.
More information about the dovecot-cvs
mailing list