diff options
author | asanka@chromium.org <asanka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-30 16:54:54 +0000 |
---|---|---|
committer | asanka@chromium.org <asanka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-30 16:54:54 +0000 |
commit | 76b0f686facc70c33f2983c115933006654ee482 (patch) | |
tree | 2a747759ba340d6f00274fbebe03c39def54ab8d /net/net.gyp | |
parent | 9604023cfcc1d6e9c30348f7bf3caaba562b5af7 (diff) | |
download | chromium_src-76b0f686facc70c33f2983c115933006654ee482.zip chromium_src-76b0f686facc70c33f2983c115933006654ee482.tar.gz chromium_src-76b0f686facc70c33f2983c115933006654ee482.tar.bz2 |
Disable HTTP auth schemes on permanent errors.
The underlying implementation for the Negotiate authentication
scheme might return error codes that indicate error conditions
that we are unlikely to recover from. If we see those, then
treat these as permanent errors and disable the auth scheme for
the rest of the transaction. We were already doing this partly
for cases where there are no default credentials. This patch
extends the behavior to additional error codes.
BUG=49950
TEST=net_unittests --gtest_filter=HttpAuthControllerTest.PermanentErrors
Review URL: http://codereview.chromium.org/6745018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79848 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/net.gyp')
-rw-r--r-- | net/net.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/net.gyp b/net/net.gyp index 516ce00..445846b 100644 --- a/net/net.gyp +++ b/net/net.gyp @@ -939,6 +939,7 @@ 'http/des_unittest.cc', 'http/http_alternate_protocols_unittest.cc', 'http/http_auth_cache_unittest.cc', + 'http/http_auth_controller_unittest.cc', 'http/http_auth_filter_unittest.cc', 'http/http_auth_gssapi_posix_unittest.cc', 'http/http_auth_handler_basic_unittest.cc', |