10 Jul
2009
10 Jul
'09
8:55 a.m.
On Thu, 09 Jul 2009, 22:27 -0400, Timo Sirainen wrote:
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.
Thank you Timo and Stephan! That was it! I have applied the latest patches to cmd-getscript.c in dovecot-managesieve 0.10.6, rebuilt, and I can once again retrieve larger scripts from the server.
Regards,
-- John Marshall