dovecot-2.2: director: Don't remove user's weak flag from notify...

dovecot at dovecot.org dovecot at dovecot.org
Mon Oct 29 17:55:55 EET 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/c16a0182533f
changeset: 15325:c16a0182533f
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Oct 22 15:32:04 2012 +0300
description:
director: Don't remove user's weak flag from notify connection.
If notify connection worked properly, the weak flag should never have been
set in the first place. And if it's just suddenly removed, it won't finish
the pending requests properly.

diffstat:

 src/director/notify-connection.c |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r 1dcf0090648e -r c16a0182533f src/director/notify-connection.c
--- a/src/director/notify-connection.c	Mon Oct 22 15:30:01 2012 +0300
+++ b/src/director/notify-connection.c	Mon Oct 22 15:32:04 2012 +0300
@@ -33,7 +33,6 @@
 				i_warning("notify: User %s refreshed too late "
 					  "(%d secs)", line, diff);
 			}
-			user->weak = FALSE;
 			user_directory_refresh(conn->dir->users, user);
 			director_update_user(conn->dir, conn->dir->self_host,
 					     user);


More information about the dovecot-cvs mailing list