dovecot-2.0: lib-master: If auth server is restarted, still log ...

dovecot at dovecot.org dovecot at dovecot.org
Thu Sep 23 21:00:35 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/acd30d4601f9
changeset: 12165:acd30d4601f9
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Sep 23 19:00:31 2010 +0100
description:
lib-master: If auth server is restarted, still log a warning about aborted auth request.

diffstat:

 src/lib-master/master-login-auth.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 41b3ab0a3241 -r acd30d4601f9 src/lib-master/master-login-auth.c
--- a/src/lib-master/master-login-auth.c	Thu Sep 23 18:39:22 2010 +0100
+++ b/src/lib-master/master-login-auth.c	Thu Sep 23 19:00:31 2010 +0100
@@ -373,6 +373,8 @@
 
 	if (auth->auth_server_pid != req->auth_pid) {
 		/* auth server was restarted. don't even attempt a login. */
+		i_warning("Auth server restarted (pid %u -> %u), aborting auth",
+			  req->auth_pid, auth->auth_server_pid);
 		master_login_auth_request_remove(auth, req);
 		req->callback(NULL, MASTER_AUTH_ERRMSG_INTERNAL_FAILURE,
 			      req->context);


More information about the dovecot-cvs mailing list