From: Henrik Nordstrom Date: Sat, 6 Mar 2010 22:27:04 +0000 (+0100) Subject: Correct digest stale=false in POST workaround code X-Git-Tag: SQUID_3_2_0_1~378 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0e13417649bfa8cfb7432265767084e1754ec70d;p=thirdparty%2Fsquid.git Correct digest stale=false in POST workaround code --- diff --git a/src/auth/digest/auth_digest.cc b/src/auth/digest/auth_digest.cc index 08c3b03ece..a33d90c23e 100644 --- a/src/auth/digest/auth_digest.cc +++ b/src/auth/digest/auth_digest.cc @@ -668,6 +668,7 @@ AuthDigestUserRequest::authenticate(HttpRequest * request, ConnStateData * conn, if (strcasecmp(digest_request->response, Response)) { credentials(Failed); + digest_request->flags.invalid_password = 1; digest_request->setDenyMessage("Incorrect password"); return; } else { @@ -1210,7 +1211,7 @@ AuthDigestConfig::decode(char const *proxy_auth) default: debugs(29, 3, "authDigestDecodeAuth: Unknown attribute '" << item << "' in '" << temp << "'"); - + break; } }