summaryrefslogtreecommitdiffstats
path: root/net/http/http_auth.h
diff options
context:
space:
mode:
authorcbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-16 13:41:36 +0000
committercbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-16 13:41:36 +0000
commitc4857e0589febfab0adcd6fa8d88b2f6530b82c6 (patch)
treeb8a65128610743cfd646deb4a40ef96e6972bf60 /net/http/http_auth.h
parentb16b2a9d2f8107b6803c990cebf92f910ae238d5 (diff)
downloadchromium_src-c4857e0589febfab0adcd6fa8d88b2f6530b82c6.zip
chromium_src-c4857e0589febfab0adcd6fa8d88b2f6530b82c6.tar.gz
chromium_src-c4857e0589febfab0adcd6fa8d88b2f6530b82c6.tar.bz2
Don't evict username/password when handling "stale" digest authentication challenges.
Stale challenges indicate that the cached nonce (and associated nonce_count) are no longer valid. BUG=53353 TEST=Use a digest authentication Squid proxy with default settings (which complain about stale nonce's). Ensure that there are no username/password prompts after getting a stale challenge. Also, net_unittests. Review URL: http://codereview.chromium.org/3421005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59643 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_auth.h')
-rw-r--r--net/http/http_auth.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/http/http_auth.h b/net/http/http_auth.h
index d7d0347..dc78f0c 100644
--- a/net/http/http_auth.h
+++ b/net/http/http_auth.h
@@ -126,7 +126,8 @@ class HttpAuth {
HttpAuthHandler* handler,
const HttpResponseHeaders* headers,
Target target,
- const std::set<std::string>& disabled_schemes);
+ const std::set<std::string>& disabled_schemes,
+ std::string* challenge_used);
// ChallengeTokenizer breaks up a challenge string into the the auth scheme
// and parameter list, according to RFC 2617 Sec 1.2: