[dovecot/core] 5ecfba: imapc: Update mail size also when istream_opened()...
GitHub
noreply at github.com
Tue Mar 20 13:00:47 EET 2018
Branch: refs/heads/master-2.3
Home: https://github.com/dovecot/core
Commit: 5ecfbaee510282b80e8f8ceaf43f9b8b2df106c1
https://github.com/dovecot/core/commit/5ecfbaee510282b80e8f8ceaf43f9b8b2df106c1
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-03-20 (Tue, 20 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.
Commit: 28cbdea85b1edfe4761ec88cfb2026e12de72f2b
https://github.com/dovecot/core/commit/28cbdea85b1edfe4761ec88cfb2026e12de72f2b
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-03-20 (Tue, 20 Mar 2018)
Changed paths:
M src/lib-storage/index/imapc/imapc-mail-fetch.c
Log Message:
-----------
imapc: Update mail size also when RFC822.SIZE is smaller than fetched header size
If this isn't done, istream-mail will detect that the fetched header is
larger than RFC822.SIZE and fail with "Cached message size smaller than
expected"
Compare: https://github.com/dovecot/core/compare/597512ddc4b5...28cbdea85b1e
More information about the dovecot-cvs
mailing list