Mercurial > dovecot > core-2.2
changeset 12165:acd30d4601f9
lib-master: If auth server is restarted, still log a warning about aborted auth request.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 23 Sep 2010 19:00:31 +0100 |
parents | 41b3ab0a3241 |
children | ce75971127a2 |
files | src/lib-master/master-login-auth.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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);