dovecot-2.2: lib-imap-client: Don't reset timeout while waiting ...

dovecot at dovecot.org dovecot at dovecot.org
Sun Nov 17 15:03:45 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/fa4c87b510ea
changeset: 16971:fa4c87b510ea
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Nov 17 15:03:31 2013 +0200
description:
lib-imap-client: Don't reset timeout while waiting for IDLE DONE reply.

diffstat:

 src/lib-imap-client/imapc-connection.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 5726807ed06d -r fa4c87b510ea src/lib-imap-client/imapc-connection.c
--- a/src/lib-imap-client/imapc-connection.c	Sun Nov 17 14:04:22 2013 +0200
+++ b/src/lib-imap-client/imapc-connection.c	Sun Nov 17 15:03:31 2013 +0200
@@ -1439,7 +1439,7 @@
 	if (conn->input == NULL)
 		return;
 
-	if (conn->to != NULL)
+	if (conn->to != NULL && !conn->idle_stopping)
 		timeout_reset(conn->to);
 
 	o_stream_cork(conn->output);


More information about the dovecot-cvs mailing list