changeset 5759:6074f59f91ba HEAD

We didn't update last_output timestamp with long fetches, causing Dovecot to idle-disconnect the client.
author Timo Sirainen <tss@iki.fi>
date Sun, 17 Jun 2007 18:13:19 +0300
parents 2cba4c0f3b4f
children 7851879631ea
files src/imap/imap-fetch.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 		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;