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

Issue 7082031: Don't block the UI thread for OCSP/CRLs when viewing a cert on Mac. (Closed)

Created:
9 years, 6 months ago by Ryan Sleevi
Modified:
9 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, cbentzel+watch_chromium.org, pam+watch_chromium.org
Visibility:
Public.

Description

Don't block the UI thread for OCSP/CRLs when viewing a cert on Mac. When viewing certificates in the system certificate viewer on Mac, the certificate chain is re-evaluated with the system revocation checking policies. During this evaluation, the UI thread is blocked, potentially causing significant delays for slow OCSP responders. Instead of allowing the default policies, explicitly disable revocation checking when invoking the viewer. This does not affect revocation checking from happening in the network stack (if the user has enabled it), only from the user being able to view exactly which certificate is revoked when a chain contains revoked certificate. BUG=79950 TEST=Access a site with a slow OCSP responder (see bug for an example). Clicking "Certificate Information" should cause the certificate chain to be displayed immediately, rather than after ~25 seconds. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=90146

Patch Set 1 #

Total comments: 12

Patch Set 2 : Rebase #

Patch Set 3 : Feedback #

Patch Set 4 : Rebase to trunk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -81 lines) Patch
M chrome/browser/ui/cocoa/certificate_viewer.mm View 1 2 1 chunk +45 lines, -7 lines 0 comments Download
M net/base/x509_certificate.h View 1 2 3 1 chunk +30 lines, -4 lines 0 comments Download
M net/base/x509_certificate_mac.cc View 1 2 3 2 chunks +98 lines, -70 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Ryan Sleevi
wtc: Please take a look. I'm not thrilled with the design of hanging these off ...
9 years, 6 months ago (2011-05-29 09:46:42 UTC) #1
wtc
LGTM. High-Level Comments 1. It would be more readable to have separate CreateSSLServerPolicy and CreateSSLClientPolicy ...
9 years, 6 months ago (2011-06-03 01:58:04 UTC) #2
Ryan Sleevi
As it looks like joth@ is planning some refactoring around Verify(), I left off the ...
9 years, 6 months ago (2011-06-21 03:52:25 UTC) #3
wtc
LGTM. Thanks!
9 years, 6 months ago (2011-06-22 21:10:18 UTC) #4
commit-bot: I haz the power
Commit queue patch verification failed without an error message. Something went wrong, probably a crash, ...
9 years, 6 months ago (2011-06-22 23:38:13 UTC) #5
commit-bot: I haz the power
9 years, 6 months ago (2011-06-23 00:51:26 UTC) #6
Change committed as 90146

Powered by Google App Engine
This is Rietveld 408576698