Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Issue 7170026: net: don't check revocation when fetching PAC files. (Closed)

Created:
9 years, 6 months ago by agl
Modified:
9 years, 6 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

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. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=89489

Patch Set 1 #

Total comments: 4

Patch Set 2 : ... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -4 lines) Patch
M net/base/load_flags_list.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M net/http/http_network_transaction.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M net/proxy/proxy_script_fetcher_impl.cc View 1 1 chunk +6 lines, -1 line 0 comments Download
M net/proxy/proxy_script_fetcher_impl_unittest.cc View 1 5 chunks +27 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
agl
9 years, 6 months ago (2011-06-15 19:31:58 UTC) #1
wtc
LGTM. eroman: could you review this CL, in particular net/proxy/proxy_script_fetcher_impl_unittest.cc ? agl: please wait for ...
9 years, 6 months ago (2011-06-16 18:47:15 UTC) #2
eroman
lgtm. another way to solve this is to put the "don't check revocation" dependency into ...
9 years, 6 months ago (2011-06-16 19:06:34 UTC) #3
agl
http://codereview.chromium.org/7170026/diff/1/net/base/load_flags_list.h File net/base/load_flags_list.h (right): http://codereview.chromium.org/7170026/diff/1/net/base/load_flags_list.h#newcode56 net/base/load_flags_list.h:56: LOAD_FLAG(NO_CERT_REVOCATION_CHECKING, 1 << 11) On 2011/06/16 18:47:15, wtc wrote: ...
9 years, 6 months ago (2011-06-17 14:47:29 UTC) #4
commit-bot: I haz the power
9 years, 6 months ago (2011-06-17 15:46:22 UTC) #5
Change committed as 89489

Powered by Google App Engine
This is Rietveld 408576698