[Dovecot] Bug in zlib Plugin (2.0)

Timo Sirainen tss at iki.fi
Wed May 26 18:17:19 EEST 2010


On Wed, 2010-05-26 at 15:52 +0100, Timo Sirainen wrote:
> On Thu, 2010-05-06 at 11:35 -0300, Alex Baule wrote:
> 
> >     /* if non-zero, overrides the physical size that should be saved.
> >       for example when using zlib plugin, this would contain the mail's
> >       uncompressed size. */
> >    uoff_t saved_physical_size;
> 
> Looks like the comment is a bit bad. Its only purpose is to tell dbox
> code to save physical-size metadata field with the given size. Maildir
> doesn't do anything with it. Maybe I can find a way to remove the whole
> variable entirely, since dbox code should already be able to figure out
> all that internally..

Yeah, removed: http://hg.dovecot.org/dovecot-2.0/rev/e84e72fb1af9
http://hg.dovecot.org/dovecot-2.0/rev/4eaebea097db




More information about the dovecot mailing list