dovecot-2.0: imap: If client was disconnected while IDLEing (e.g...

dovecot at dovecot.org dovecot at dovecot.org
Mon May 31 21:15:05 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/38ce28c0bca3
changeset: 11436:38ce28c0bca3
user:      Timo Sirainen <tss at iki.fi>
date:      Mon May 31 19:15:01 2010 +0100
description:
imap: If client was disconnected while IDLEing (e.g. storage error), it got stuck instead.

diffstat:

 src/imap/cmd-idle.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 3efe9dcbed3e -r 38ce28c0bca3 src/imap/cmd-idle.c
--- a/src/imap/cmd-idle.c	Mon May 31 19:09:41 2010 +0100
+++ b/src/imap/cmd-idle.c	Mon May 31 19:15:01 2010 +0100
@@ -207,6 +207,7 @@
 
 	if (client->output->closed) {
 		idle_finish(ctx, FALSE, FALSE);
+		client_destroy(client, NULL);
 		return TRUE;
 	}
 	if (client->io == NULL) {


More information about the dovecot-cvs mailing list