From f9ee6b5a5925d8496f05309963c42bfdd3ec1a8b Mon Sep 17 00:00:00 2001 From: "ericroman@google.com" Date: Sat, 8 Nov 2008 06:46:23 +0000 Subject: - Add preemptive authorization (new http stack only) - Check for auth identity in URL (new http stack only) - Move auth cache logic out of url request job, and hide it in the url request ftp job and http transaction classes. Note: Somehow the original codereview thread got corrupted so it was recreated. The real review comments should be under (http://codereview.chromium.org/6481) Review URL: http://codereview.chromium.org/8231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5064 0039d316-1c4b-4281-b951-d872f2087c98 --- net/http/http_auth_handler_digest.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'net/http/http_auth_handler_digest.h') diff --git a/net/http/http_auth_handler_digest.h b/net/http/http_auth_handler_digest.h index 5289cc5..85d3f3b 100644 --- a/net/http/http_auth_handler_digest.h +++ b/net/http/http_auth_handler_digest.h @@ -23,6 +23,7 @@ class HttpAuthHandlerDigest : public HttpAuthHandler { protected: virtual bool Init(std::string::const_iterator challenge_begin, std::string::const_iterator challenge_end) { + nonce_count_ = 1; return ParseChallenge(challenge_begin, challenge_end); } @@ -98,6 +99,8 @@ class HttpAuthHandlerDigest : public HttpAuthHandler { bool stale_; DigestAlgorithm algorithm_; int qop_; // Bitfield of QualityOfProtection + + int nonce_count_; }; } // namespace net -- cgit v1.1