From: Timo Sirainen Date: Thu, 23 Sep 2010 18:00:31 +0000 (+0100) Subject: lib-master: If auth server is restarted, still log a warning about aborted auth request. X-Git-Tag: 2.0.4~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6455d61b4eeb69fe1f32d2352caa75b6051be76;p=thirdparty%2Fdovecot%2Fcore.git lib-master: If auth server is restarted, still log a warning about aborted auth request. --- diff --git a/src/lib-master/master-login-auth.c b/src/lib-master/master-login-auth.c index 06aecec9a0..ccec34dba1 100644 --- a/src/lib-master/master-login-auth.c +++ b/src/lib-master/master-login-auth.c @@ -373,6 +373,8 @@ master_login_auth_send_request(struct master_login_auth *auth, 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);