]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-master: If auth server is restarted, still log a warning about aborted auth request.
authorTimo Sirainen <tss@iki.fi>
Thu, 23 Sep 2010 18:00:31 +0000 (19:00 +0100)
committerTimo Sirainen <tss@iki.fi>
Thu, 23 Sep 2010 18:00:31 +0000 (19:00 +0100)
src/lib-master/master-login-auth.c

index 06aecec9a01a2a84953e6ae422ab72ac49d0f110..ccec34dba1f72f4575510221f1f9817ffa4ee056 100644 (file)
@@ -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);