dovecot-1.0: We didn't update last_output timestamp with long fe...

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


details:   http://hg.dovecot.org/dovecot-1.0/rev/f88b1e225be5
changeset: 5318:f88b1e225be5
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Jun 17 18:13:18 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 b2fe5f3e5562 -r f88b1e225be5 src/imap/imap-fetch.c
--- a/src/imap/imap-fetch.c	Sat Jun 16 01:38:33 2007 +0300
+++ b/src/imap/imap-fetch.c	Sun Jun 17 18:13:18 2007 +0300
@@ -322,6 +322,7 @@ int imap_fetch(struct imap_fetch_context
 		ctx->line_finished = TRUE;
 		if (o_stream_send(ctx->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