[Dovecot] Managesieve fails to retrieve scripts > 8kB on Dovecot 1.1.16

Timo Sirainen tss at iki.fi
Fri Jul 10 05:27:23 EEST 2009


On Thu, 2009-07-09 at 22:22 -0400, Timo Sirainen wrote:
> With the latest changes from dovecot-1.1-managesieve hg I can't
> reproduce this anymore. I guess one of those Stephan's "error handling"
> changes fixed the bug? :)

Ah, right.
http://hg.rename-it.nl/dovecot-1.1-managesieve/rev/75c9769339b8 didn't
work because it had:

+	if ( !i_stream_have_bytes_left(ctx->scriptstream) && !ctx->failed ) {

which should have been:

+	if ( i_stream_have_bytes_left(ctx->scriptstream) && !ctx->failed ) {

And http://hg.rename-it.nl/dovecot-1.1-managesieve/rev/8dc698b544ce fixed that.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090709/2917f404/attachment.bin 


More information about the dovecot mailing list