Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1804)

Issue 1197823002: QUIC - Fix QUIC enabled experiment spending significantly more time verifying certs on Android (Closed)

Created:
5 years, 6 months ago by ramant (doing other things)
Modified:
5 years, 6 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org, Ian Swett
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

QUIC - Fix QUIC enabled experiment spending significantly more time verifying certs on Android. Get computed CertVerifier::VerifyFlags from SSLConfig from HttpStreamFactoryImpl::Job and pass them to QUIC's CertVerifier code. With this change, when SSLClientSocket[NSS|OpenSSL] code tries to verify the code, certs are already cached and we don't verify certs twice. BUG=502509 [email protected] Committed: https://crrev.com/a75df625713c20eff6faf082248aad9f34cf6a6f Cr-Commit-Position: refs/heads/master@{#335463}

Patch Set 1 : #

Total comments: 12

Patch Set 2 : Fixed comments for Patch Set 1 #

Total comments: 2

Patch Set 3 : removed explicit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+228 lines, -191 lines) Patch
M net/http/http_stream_factory_impl_job.cc View 1 5 chunks +27 lines, -14 lines 0 comments Download
M net/quic/crypto/proof_verifier_chromium.h View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M net/quic/crypto/proof_verifier_chromium.cc View 1 5 chunks +18 lines, -13 lines 0 comments Download
M net/quic/quic_client_session.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/quic_client_session.cc View 1 4 chunks +12 lines, -9 lines 0 comments Download
M net/quic/quic_client_session_test.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/quic_crypto_client_stream.cc View 1 1 chunk +3 lines, -8 lines 0 comments Download
M net/quic/quic_http_stream_test.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M net/quic/quic_stream_factory.h View 1 4 chunks +6 lines, -0 lines 0 comments Download
M net/quic/quic_stream_factory.cc View 1 14 chunks +32 lines, -19 lines 0 comments Download
M net/quic/quic_stream_factory_test.cc View 1 38 chunks +117 lines, -116 lines 0 comments Download
M net/quic/test_tools/crypto_test_utils_chromium.cc View 1 1 chunk +4 lines, -5 lines 0 comments Download
M net/quic/test_tools/mock_crypto_client_stream.cc View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
ramant (doing other things)
https://codereview.chromium.org/1197823002/diff/40001/net/quic/quic_client_session.cc File net/quic/quic_client_session.cc (right): https://codereview.chromium.org/1197823002/diff/40001/net/quic/quic_client_session.cc#newcode113 net/quic/quic_client_session.cc:113: dict->SetInteger("cert_verify_flags", cert_verify_flags); hi Ryan, Is there any value for ...
5 years, 6 months ago (2015-06-20 01:03:22 UTC) #4
Ryan Hamilton
Looks great, modulo a gotcha I noticed :/ https://codereview.chromium.org/1197823002/diff/40001/net/http/http_stream_factory_impl_job.cc File net/http/http_stream_factory_impl_job.cc (right): https://codereview.chromium.org/1197823002/diff/40001/net/http/http_stream_factory_impl_job.cc#newcode808 net/http/http_stream_factory_impl_job.cc:808: &proxy_ssl_config_, ...
5 years, 6 months ago (2015-06-20 02:24:51 UTC) #5
ramant (doing other things)
Thanks very much Ryan for the comments. Made all the changes. PTAL. https://codereview.chromium.org/1197823002/diff/40001/net/http/http_stream_factory_impl_job.cc File net/http/http_stream_factory_impl_job.cc ...
5 years, 6 months ago (2015-06-21 01:13:24 UTC) #6
Ryan Hamilton
LGTM! Looks great. Thanks for doing this. https://codereview.chromium.org/1197823002/diff/40001/net/quic/quic_client_session.cc File net/quic/quic_client_session.cc (right): https://codereview.chromium.org/1197823002/diff/40001/net/quic/quic_client_session.cc#newcode113 net/quic/quic_client_session.cc:113: dict->SetInteger("cert_verify_flags", cert_verify_flags); ...
5 years, 6 months ago (2015-06-21 20:13:36 UTC) #7
ramant (doing other things)
Thanks very much Ryan, raman https://codereview.chromium.org/1197823002/diff/60001/net/quic/crypto/proof_verifier_chromium.h File net/quic/crypto/proof_verifier_chromium.h (right): https://codereview.chromium.org/1197823002/diff/60001/net/quic/crypto/proof_verifier_chromium.h#newcode47 net/quic/crypto/proof_verifier_chromium.h:47: explicit ProofVerifyContextChromium(int cert_verify_flags, On ...
5 years, 6 months ago (2015-06-21 22:09:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1197823002/80001
5 years, 6 months ago (2015-06-21 22:09:19 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:80001)
5 years, 6 months ago (2015-06-21 23:59:57 UTC) #12
commit-bot: I haz the power
5 years, 6 months ago (2015-06-22 00:00:50 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a75df625713c20eff6faf082248aad9f34cf6a6f
Cr-Commit-Position: refs/heads/master@{#335463}

Powered by Google App Engine
This is Rietveld 408576698