dovecot: We didn't update last_output timestamp with long fetche...

dovecot at dovecot.org dovecot at dovecot.org
Sun Jun 17 18:13:25 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/6074f59f91ba
changeset: 5759:6074f59f91ba
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Jun 17 18:13:19 2007 +0300
description:
We didn't update last_output timestamp with long fetches, causing Dovecot to
idle-disconnect the client.

diffstat:

1 file changed, 1 insertion(+)
src/imap/imap-fetch.c |    1 +

diffs (11 lines):

diff -r 2cba4c0f3b4f -r 6074f59f91ba src/imap/imap-fetch.c
--- a/src/imap/imap-fetch.c	Sat Jun 16 04:02:20 2007 +0300
+++ b/src/imap/imap-fetch.c	Sun Jun 17 18:13:19 2007 +0300
@@ -343,6 +343,7 @@ int imap_fetch(struct imap_fetch_context
 		ctx->line_partial = FALSE;
 		if (o_stream_send(client->output, ")\r\n", 3) < 0)
 			return -1;
+		ctx->client->last_output = ioloop_time;
 
 		ctx->cur_mail = NULL;
 		ctx->cur_handler = 0;


More information about the dovecot-cvs mailing list