diff options
author | cevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-20 00:29:04 +0000 |
---|---|---|
committer | cevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-20 00:29:04 +0000 |
commit | 6fbac165ccd8efc0c60ceb171885defc18a5c4b1 (patch) | |
tree | acd3d3648d98553af63b7cbd0ca2cbe7f88bd9cd /net/http | |
parent | dc9eb03de1299875489c1dd3724d45da42b7bff7 (diff) | |
download | chromium_src-6fbac165ccd8efc0c60ceb171885defc18a5c4b1.zip chromium_src-6fbac165ccd8efc0c60ceb171885defc18a5c4b1.tar.gz chromium_src-6fbac165ccd8efc0c60ceb171885defc18a5c4b1.tar.bz2 |
Revert 89628 - Revert 89489 - net: don't check revocation when fetching PAC files.
If a PAC file is configured on an HTTPS URL we get into trouble. In order to
check revocation we need to make an HTTP request to the OCSP/CRL server, which
needs the PAC script to load and so we deadlock.
With this change we don't check revocation for PAC fetches.
BUG=86219
TEST=Configure a PAC script on HTTPS.
Review URL: http://codereview.chromium.org/7170026
TBR=agl@chromium.org
NOTE: I'll roll this back in if it turns out unrelated to the ProxyEvents failure.
Review URL: http://codereview.chromium.org/7204023
TBR=cevans@chromium.org
Review URL: http://codereview.chromium.org/7204025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89634 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http')
-rw-r--r-- | net/http/http_network_transaction.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc index 9054346..8b06a3b 100644 --- a/net/http/http_network_transaction.cc +++ b/net/http/http_network_transaction.cc @@ -162,6 +162,9 @@ int HttpNetworkTransaction::Start(const HttpRequestInfo* request_info, request_ = request_info; start_time_ = base::Time::Now(); + if (request_->load_flags & LOAD_DISABLE_CERT_REVOCATION_CHECKING) + ssl_config_.rev_checking_enabled = false; + next_state_ = STATE_CREATE_STREAM; int rv = DoLoop(OK); if (rv == ERR_IO_PENDING) |