diff options
author | ahendrickson@google.com <ahendrickson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-21 17:37:41 +0000 |
---|---|---|
committer | ahendrickson@google.com <ahendrickson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-21 17:37:41 +0000 |
commit | dbaf3533997c1451d04033a1c139d1e12669c434 (patch) | |
tree | dcb346982dd32f58ce78a3785df9885ea05e1c85 /net/http/http_auth_controller.cc | |
parent | 723e544542e1a22fee857dc2dd6e6619276559a7 (diff) | |
download | chromium_src-dbaf3533997c1451d04033a1c139d1e12669c434.zip chromium_src-dbaf3533997c1451d04033a1c139d1e12669c434.tar.gz chromium_src-dbaf3533997c1451d04033a1c139d1e12669c434.tar.bz2 |
Kerberos authentication backoff cleanup.
BUG=33033
TEST=None
Review URL: http://codereview.chromium.org/2883031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53207 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_auth_controller.cc')
-rw-r--r-- | net/http/http_auth_controller.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/http/http_auth_controller.cc b/net/http/http_auth_controller.cc index e4196ba..c077ee8 100644 --- a/net/http/http_auth_controller.cc +++ b/net/http/http_auth_controller.cc @@ -88,7 +88,7 @@ int HttpAuthController::MaybeGenerateAuthToken(const HttpRequestInfo* request, &auth_token_); if (rv == ERR_IO_PENDING) user_callback_ = callback; - if (rv != ERR_IO_PENDING) + else OnIOComplete(rv); // This error occurs with GSSAPI, if the user has not already logged in. if (rv == ERR_MISSING_AUTH_CREDENTIALS) @@ -342,7 +342,7 @@ void HttpAuthController::OnIOComplete(int result) { // In that case, disable the current scheme as it cannot succeed. if (result == ERR_MISSING_AUTH_CREDENTIALS) { DisableAuthScheme(handler_->scheme()); - auth_token_.erase(); + auth_token_.clear(); result = OK; } if (user_callback_) { |