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

Issue 2767883002: Call the platform certificate parser in WorkerPool. (Closed)

Created:
3 years, 9 months ago by Shuhei Takahashi
Modified:
3 years, 8 months ago
Reviewers:
davidben, Ryan Sleevi, mattm
CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Call the platform certificate parser in WorkerPool. X509Certificate::CreateFromDERCertChain() can block for long time and should not be called on the IO thread. In fact, on Chrome OS, it might not return until TPM-related initialization is finished. BUG=chromium:704024 TEST=net_unittests

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -15 lines) Patch
M net/socket/ssl_client_socket_impl.h View 2 chunks +4 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_impl.cc View 6 chunks +44 lines, -15 lines 0 comments Download

Messages

Total messages: 20 (15 generated)
Shuhei Takahashi
davidben: PTAL
3 years, 9 months ago (2017-03-23 10:24:32 UTC) #15
davidben
+rsleevi, mattm Pushing things to worker threads has inherent cost and this *should* be literally ...
3 years, 9 months ago (2017-03-23 13:50:33 UTC) #17
davidben
(Note this change also has a UAF because the pointer returned by SSL_get0_peer_certificates is unretained, ...
3 years, 9 months ago (2017-03-23 13:52:15 UTC) #18
Ryan Sleevi
On 2017/03/23 13:50:33, davidben wrote: > +rsleevi, mattm > > Pushing things to worker threads ...
3 years, 9 months ago (2017-03-23 15:11:02 UTC) #19
Shuhei Takahashi
3 years, 8 months ago (2017-03-29 08:37:49 UTC) #20
We are still discussing what to do in http://crbug.com/704024, but we won't land
this change anyway. Closing.

Powered by Google App Engine
This is Rietveld 408576698