From: Amos Jeffries Date: Mon, 28 Mar 2011 11:24:45 +0000 (-0600) Subject: Bug 3170: "Unsupported or unconfigured/inactive proxy-auth scheme" on shutdown X-Git-Tag: take06~27^2~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8add28cd431c4724effb32132552db3ec7f1cfe8;p=thirdparty%2Fsquid.git Bug 3170: "Unsupported or unconfigured/inactive proxy-auth scheme" on shutdown --- diff --git a/src/auth/Config.cc b/src/auth/Config.cc index 6f01462696..20fe9dbf7e 100644 --- a/src/auth/Config.cc +++ b/src/auth/Config.cc @@ -41,7 +41,7 @@ Auth::authConfig Auth::TheConfig; /** * Get Auth User: Return a filled out auth_user structure for the given * Proxy Auth (or Auth) header. It may be a cached Auth User or a new - * Unauthenticated structure. The structure is given an inital lock here. + * Unauthenticated structure. The structure is given an initial lock here. * It may also be NULL reflecting that no user could be created. */ AuthUserRequest::Pointer @@ -53,7 +53,8 @@ AuthConfig::CreateAuthUser(const char *proxy_auth) AuthConfig *config = Find(proxy_auth); if (config == NULL || !config->active()) { - debugs(29, 1, "AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, '" << proxy_auth << "'"); + debugs(29, (shutting_down?3:DBG_IMPORTANT), (shutting_down?"":"WARNING: ") << + "Unsupported or unconfigured/inactive proxy-auth scheme, '" << proxy_auth << "'"); return NULL; }