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

Issue 2120703003: QUIC - Race Cert Verification with host resolution if certs are (Closed)

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

Description

QUIC - Race Cert Verification with host resolution if certs are availiable when race_cert_verification network session param is enabled. This experiment is not enabled in chromium. R=eroman@chromium.org, mef@chromium.org, rch@chromium.org, TBR=eroman@chromium.org (for net-internals changes) CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/d073dd2ac386ae7893f03cd7659abb66f045e5fa Cr-Commit-Position: refs/heads/master@{#409701}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Fix comments. #

Patch Set 3 : Minor optimization, when verifying certs only skip policy checks. #

Total comments: 7

Patch Set 4 : Fix comments. #

Total comments: 2

Patch Set 5 : Rebase and fix unittests. #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase TOT #

Patch Set 8 : Minor fix. #

Patch Set 9 : Use kDefaultServerHostName as the server name. #

Patch Set 10 : Rebase TOT #

Patch Set 11 : Fix for buildbot failure. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+498 lines, -61 lines) Patch
M chrome/browser/resources/net_internals/quic_view.html View 1 chunk +1 line, -0 lines 0 comments Download
M components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M components/cronet/url_request_context_config.cc View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M components/cronet/url_request_context_config_unittest.cc View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M net/http/http_network_session.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M net/http/http_network_session.cc View 1 2 3 4 5 6 3 chunks +4 lines, -0 lines 0 comments Download
M net/quic/chromium/crypto/proof_verifier_chromium.h View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M net/quic/chromium/crypto/proof_verifier_chromium.cc View 1 2 3 4 5 6 9 chunks +126 lines, -23 lines 0 comments Download
M net/quic/chromium/crypto/proof_verifier_chromium_test.cc View 1 2 3 4 5 6 1 chunk +29 lines, -0 lines 0 comments Download
M net/quic/chromium/quic_stream_factory.h View 1 2 3 4 5 6 7 chunks +18 lines, -0 lines 0 comments Download
M net/quic/chromium/quic_stream_factory.cc View 1 2 3 4 5 6 21 chunks +138 lines, -30 lines 0 comments Download
M net/quic/chromium/quic_stream_factory_test.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +68 lines, -4 lines 0 comments Download
M net/quic/core/crypto/proof_verifier.h View 1 2 3 4 5 6 1 chunk +20 lines, -0 lines 0 comments Download
M net/quic/test_tools/quic_stream_factory_peer.h View 1 2 3 4 5 6 3 chunks +14 lines, -0 lines 0 comments Download
M net/quic/test_tools/quic_stream_factory_peer.cc View 1 2 3 4 5 6 7 5 chunks +37 lines, -2 lines 0 comments Download
M net/tools/quic/test_tools/quic_test_client.cc View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
M net/url_request/url_request_context_builder.h View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M net/url_request/url_request_context_builder.cc View 1 2 3 4 5 6 2 chunks +4 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 138 (73 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2120703003/1
4 years, 5 months ago (2016-07-01 23:08:52 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/30356) ios-device-gn on ...
4 years, 5 months ago (2016-07-01 23:11:31 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2120703003/20001
4 years, 5 months ago (2016-07-01 23:26:26 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/186937)
4 years, 5 months ago (2016-07-02 00:41:00 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2120703003/40001
4 years, 5 months ago (2016-07-02 02:20:07 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-02 03:22:57 UTC) #17
ramant (doing other things)
Hi Ryan, This is a cut at racing host resolution with certificate verification. Would appreciate ...
4 years, 5 months ago (2016-07-06 15:27:19 UTC) #18
Ryan Hamilton
https://codereview.chromium.org/2120703003/diff/40001/net/quic/crypto/proof_verifier_chromium.cc File net/quic/crypto/proof_verifier_chromium.cc (right): https://codereview.chromium.org/2120703003/diff/40001/net/quic/crypto/proof_verifier_chromium.cc#newcode231 net/quic/crypto/proof_verifier_chromium.cc:231: if (!signature.empty() && > Is it better to pass ...
4 years, 5 months ago (2016-07-07 00:24:36 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2120703003/60001
4 years, 5 months ago (2016-07-07 03:43:37 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-07 04:56:49 UTC) #23
ramant (doing other things)
Hi Ryan, Made all the changes. PTAL. thanks raman https://codereview.chromium.org/2120703003/diff/40001/net/quic/crypto/proof_verifier_chromium.cc File net/quic/crypto/proof_verifier_chromium.cc (right): https://codereview.chromium.org/2120703003/diff/40001/net/quic/crypto/proof_verifier_chromium.cc#newcode231 net/quic/crypto/proof_verifier_chromium.cc:231: ...
4 years, 5 months ago (2016-07-07 16:18:20 UTC) #24
ramant (doing other things)
https://codereview.chromium.org/2120703003/diff/80001/net/quic/crypto/proof_verifier_chromium.cc File net/quic/crypto/proof_verifier_chromium.cc (right): https://codereview.chromium.org/2120703003/diff/80001/net/quic/crypto/proof_verifier_chromium.cc#newcode153 net/quic/crypto/proof_verifier_chromium.cc:153: bool enforce_policy_checking_; Hi Ryan, As we had discussed offline, ...
4 years, 5 months ago (2016-07-07 19:31:49 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2120703003/80001
4 years, 5 months ago (2016-07-07 19:32:30 UTC) #27
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-07 21:34:14 UTC) #29
Ryan Hamilton
a couple nits, but LGTM otherwise. I assume you'll merge the changes to the shared ...
4 years, 5 months ago (2016-07-07 21:36:12 UTC) #30
mef
components/cronet lgtm
4 years, 5 months ago (2016-07-07 21:56:25 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2120703003/100001
4 years, 5 months ago (2016-07-07 22:16:14 UTC) #33
ramant (doing other things)
Thanks very much Ryan for the comments. Made all the changes. Would appreciate if you ...
4 years, 5 months ago (2016-07-07 22:18:28 UTC) #35
ramant (doing other things)
Will merge the changes to the common files into the internal source tree. Thanks Ryan.
4 years, 5 months ago (2016-07-07 22:20:20 UTC) #36
Ryan Hamilton
lgtm
4 years, 5 months ago (2016-07-07 22:22:56 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2120703003/100001
4 years, 5 months ago (2016-07-07 23:00:04 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gyp_rel on master.tryserver.chromium.mac (JOB_TIMED_OUT, no build URL)
4 years, 5 months ago (2016-07-08 00:18:11 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2120703003/100001
4 years, 5 months ago (2016-07-08 00:50:54 UTC) #44
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 5 months ago (2016-07-08 01:14:26 UTC) #46
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-08 01:14:31 UTC) #47
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/61f8d17a6a2ee893f42f62164a81026c56186c1d Cr-Commit-Position: refs/heads/master@{#404296}
4 years, 5 months ago (2016-07-08 01:17:05 UTC) #49
hush (inactive)
A revert of this CL (patchset #4 id:100001) has been created in https://codereview.chromium.org/2131813002/ by hush@chromium.org. ...
4 years, 5 months ago (2016-07-08 02:22:41 UTC) #50
1543
lgtm hyhyhyhy
4 years, 5 months ago (2016-07-08 06:29:33 UTC) #52
1543
lgtm lgtm hyhyhyhy
4 years, 5 months ago (2016-07-08 06:29:41 UTC) #53
1543
lgtm lgtm lgtm hyhyhyhy
4 years, 5 months ago (2016-07-08 06:29:44 UTC) #54
mef
https://codereview.chromium.org/2120703003/diff/100001/components/cronet/url_request_context_config_unittest.cc File components/cronet/url_request_context_config_unittest.cc (right): https://codereview.chromium.org/2120703003/diff/100001/components/cronet/url_request_context_config_unittest.cc#newcode50 components/cronet/url_request_context_config_unittest.cc:50: "\"race_cert_verification\":true," I think test below fails because this line ...
4 years, 5 months ago (2016-07-08 13:23:50 UTC) #55
Ryan Hamilton
On 2016/07/08 13:23:50, mef wrote: > https://codereview.chromium.org/2120703003/diff/100001/components/cronet/url_request_context_config_unittest.cc > File components/cronet/url_request_context_config_unittest.cc (right): > > https://codereview.chromium.org/2120703003/diff/100001/components/cronet/url_request_context_config_unittest.cc#newcode50 > ...
4 years, 5 months ago (2016-07-08 13:42:38 UTC) #56
ramant (doing other things)
On 2016/07/08 13:42:38, Ryan Hamilton wrote: > On 2016/07/08 13:23:50, mef wrote: > > > ...
4 years, 5 months ago (2016-07-08 18:18:51 UTC) #57
Ryan Hamilton
On 2016/07/08 18:18:51, ramant wrote: > On 2016/07/08 13:42:38, Ryan Hamilton wrote: > > It ...
4 years, 5 months ago (2016-07-08 18:45:35 UTC) #58
mef
On 2016/07/08 18:45:35, Ryan Hamilton wrote: > On 2016/07/08 18:18:51, ramant wrote: > > On ...
4 years, 5 months ago (2016-07-08 18:51:24 UTC) #59
ramant (doing other things)
Rebased with tip of the tree and fixed unittests.
4 years, 5 months ago (2016-07-08 22:59:01 UTC) #65
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2120703003/120001
4 years, 5 months ago (2016-07-08 23:12:46 UTC) #70
ramant (doing other things)
https://codereview.chromium.org/2120703003/diff/100001/components/cronet/url_request_context_config_unittest.cc File components/cronet/url_request_context_config_unittest.cc (right): https://codereview.chromium.org/2120703003/diff/100001/components/cronet/url_request_context_config_unittest.cc#newcode50 components/cronet/url_request_context_config_unittest.cc:50: "\"race_cert_verification\":true," On 2016/07/08 13:23:50, mef wrote: > I think ...
4 years, 5 months ago (2016-07-08 23:13:49 UTC) #71
ramant (doing other things)
On 2016/07/08 23:13:49, ramant wrote: > https://codereview.chromium.org/2120703003/diff/100001/components/cronet/url_request_context_config_unittest.cc > File components/cronet/url_request_context_config_unittest.cc (right): > > https://codereview.chromium.org/2120703003/diff/100001/components/cronet/url_request_context_config_unittest.cc#newcode50 > ...
4 years, 5 months ago (2016-07-08 23:19:26 UTC) #72
commit-bot: I haz the power
Failed to apply patch for net/http/http_network_session.cc: While running git apply --index -3 -p1; error: patch ...
4 years, 5 months ago (2016-07-09 00:41:38 UTC) #74
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-09 00:42:03 UTC) #76
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2120703003/140001
4 years, 5 months ago (2016-07-09 01:11:35 UTC) #81
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_chromeos_rel_ng on ...
4 years, 5 months ago (2016-07-09 04:37:53 UTC) #83
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2120703003/140001
4 years, 5 months ago (2016-07-09 04:56:38 UTC) #85
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_asan_rel_ng on ...
4 years, 5 months ago (2016-07-09 06:57:06 UTC) #87
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2120703003/140001
4 years, 5 months ago (2016-07-09 13:27:35 UTC) #90
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_asan_rel_ng on ...
4 years, 5 months ago (2016-07-09 15:28:12 UTC) #92
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2120703003/140001
4 years, 5 months ago (2016-07-09 19:44:42 UTC) #94
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years, 5 months ago (2016-07-09 19:48:57 UTC) #96
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/74acd6f26ea2e71a06a6d09cd2eb2f6d751627cc Cr-Commit-Position: refs/heads/master@{#404568}
4 years, 5 months ago (2016-07-09 19:51:08 UTC) #98
Ken Rockot(use gerrit already)
On 2016/07/09 at 19:51:08, commit-bot wrote: > Patchset 6 (id:??) landed as https://crrev.com/74acd6f26ea2e71a06a6d09cd2eb2f6d751627cc > Cr-Commit-Position: ...
4 years, 5 months ago (2016-07-10 13:58:29 UTC) #99
Ken Rockot(use gerrit already)
On 2016/07/10 at 13:58:29, Ken Rockot wrote: > On 2016/07/09 at 19:51:08, commit-bot wrote: > ...
4 years, 5 months ago (2016-07-10 14:59:03 UTC) #100
ramant (doing other things)
A revert of this CL (patchset #6 id:140001) has been created in https://codereview.chromium.org/2137843002/ by rtenneti@chromium.org. ...
4 years, 5 months ago (2016-07-10 16:32:54 UTC) #101
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 4 months ago (2016-08-02 18:53:05 UTC) #106
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2120703003/180001
4 years, 4 months ago (2016-08-03 17:55:52 UTC) #113
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2120703003/220001
4 years, 4 months ago (2016-08-03 21:15:33 UTC) #121
commit-bot: I haz the power
Committed patchset #10 (id:220001)
4 years, 4 months ago (2016-08-03 21:30:54 UTC) #122
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/4a42548bd101adfc284fa6e8da6493a2d89f768a Cr-Commit-Position: refs/heads/master@{#409625}
4 years, 4 months ago (2016-08-03 21:32:49 UTC) #124
ramant (doing other things)
A revert of this CL (patchset #10 id:220001) has been created in https://codereview.chromium.org/2210693002/ by rtenneti@chromium.org. ...
4 years, 4 months ago (2016-08-03 23:18:29 UTC) #125
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2120703003/230001
4 years, 4 months ago (2016-08-04 00:53:09 UTC) #131
commit-bot: I haz the power
Committed patchset #11 (id:230001)
4 years, 4 months ago (2016-08-04 01:58:52 UTC) #132
commit-bot: I haz the power
Patchset 11 (id:??) landed as https://crrev.com/d073dd2ac386ae7893f03cd7659abb66f045e5fa Cr-Commit-Position: refs/heads/master@{#409701}
4 years, 4 months ago (2016-08-04 02:02:24 UTC) #135
Ryan Hamilton
A revert of this CL (patchset #11 id:230001) has been created in https://codereview.chromium.org/2267603002/ by rch@chromium.org. ...
4 years, 4 months ago (2016-08-21 20:50:05 UTC) #136
ramant (doing other things)
LGTM
4 years, 4 months ago (2016-08-22 00:18:36 UTC) #137
Ryan Hamilton
4 years, 3 months ago (2016-08-22 19:28:02 UTC) #138
Message was sent while issue was closed.
On 2016/08/21 20:50:05, Ryan Hamilton wrote:
> A revert of this CL (patchset #11 id:230001) has been created in
> https://codereview.chromium.org/2267603002/ by mailto:rch@chromium.org.
> 
> The reason for reverting is: Causes crashes crbug.com/639519.

Actually this does not actually cause that crash. Will not be reverting.

Powered by Google App Engine
This is Rietveld 408576698