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

Issue 1502453003: QUIC - Disable Preconnect when QUIC can be spoken to a server with 0RTT (Closed)

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

Description

QUIC - Disable Preconnect when QUIC can be spoken to a server with 0RTT handshake. + Intend to disable Preconnects via an experiment. + Preconnects are not disabled by default. + Moved QuicStreamFactoryPeer code into a separate file. + Added utility code for tests to populate a dummy server config into the cache. + Added unittests to test disabling of Preconnects and ZeroRTT test. R=rch@chromium.org Committed: https://crrev.com/d2e74caa01ed529d7079dbc4c9fb488463fb5a81 Cr-Commit-Position: refs/heads/master@{#363864}

Patch Set 1 #

Patch Set 2 : #

Total comments: 10

Patch Set 3 : Fix comments for Patch Set 2 #

Total comments: 3

Patch Set 4 : Fix test name #

Unified diffs Side-by-side diffs Delta from patch set Stats (+395 lines, -109 lines) Patch
M net/http/http_network_session.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M net/http/http_network_session.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M net/http/http_stream_factory_impl.cc View 1 2 3 chunks +8 lines, -2 lines 0 comments Download
M net/http/http_stream_factory_impl_unittest.cc View 1 2 3 5 chunks +103 lines, -1 line 0 comments Download
M net/net.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/quic_stream_factory.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/quic_stream_factory.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M net/quic/quic_stream_factory_test.cc View 1 2 3 chunks +16 lines, -106 lines 0 comments Download
A net/quic/test_tools/quic_stream_factory_peer.h View 1 2 1 chunk +92 lines, -0 lines 0 comments Download
A net/quic/test_tools/quic_stream_factory_peer.cc View 1 2 1 chunk +165 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 34 (19 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1502453003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1502453003/1
5 years ago (2015-12-04 06:57:45 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-04 08:51:39 UTC) #4
ramant (doing other things)
Hi Ryan and Ian, This is a first cut at disabling Preconnects. Most of the ...
5 years ago (2015-12-04 18:56:51 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1502453003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1502453003/160001
5 years ago (2015-12-04 18:58:36 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-04 20:09:53 UTC) #18
Ryan Hamilton
Thanks for doing this. I assume you intend to wire this up via finch? Just ...
5 years ago (2015-12-05 04:16:18 UTC) #19
ramant (doing other things)
Thanks very much Ryan for the comments (sorry for the delay in fixing, wasn't 100% ...
5 years ago (2015-12-07 20:05:39 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1502453003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1502453003/180001
5 years ago (2015-12-07 20:10:29 UTC) #22
ramant (doing other things)
https://codereview.chromium.org/1502453003/diff/180001/net/http/http_stream_factory_impl_unittest.cc File net/http/http_stream_factory_impl_unittest.cc (right): https://codereview.chromium.org/1502453003/diff/180001/net/http/http_stream_factory_impl_unittest.cc#newcode754 net/http/http_stream_factory_impl_unittest.cc:754: TEST_P(HttpStreamFactoryTest, QuicDisablePreConnectIfNoZeroRTT) { nit: I am not very happy ...
5 years ago (2015-12-07 20:13:11 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-07 22:51:00 UTC) #25
Ryan Hamilton
lgtm https://codereview.chromium.org/1502453003/diff/180001/net/http/http_stream_factory_impl_unittest.cc File net/http/http_stream_factory_impl_unittest.cc (right): https://codereview.chromium.org/1502453003/diff/180001/net/http/http_stream_factory_impl_unittest.cc#newcode754 net/http/http_stream_factory_impl_unittest.cc:754: TEST_P(HttpStreamFactoryTest, QuicDisablePreConnectIfNoZeroRTT) { On 2015/12/07 20:13:11, ramant wrote: ...
5 years ago (2015-12-08 20:49:45 UTC) #26
ramant (doing other things)
Thanks much Ryan raman https://codereview.chromium.org/1502453003/diff/180001/net/http/http_stream_factory_impl_unittest.cc File net/http/http_stream_factory_impl_unittest.cc (right): https://codereview.chromium.org/1502453003/diff/180001/net/http/http_stream_factory_impl_unittest.cc#newcode754 net/http/http_stream_factory_impl_unittest.cc:754: TEST_P(HttpStreamFactoryTest, QuicDisablePreConnectIfNoZeroRTT) { On 2015/12/08 ...
5 years ago (2015-12-08 22:24:39 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1502453003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1502453003/200001
5 years ago (2015-12-08 22:27:07 UTC) #30
commit-bot: I haz the power
Committed patchset #4 (id:200001)
5 years ago (2015-12-09 00:52:04 UTC) #32
commit-bot: I haz the power
5 years ago (2015-12-09 00:53:40 UTC) #34
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d2e74caa01ed529d7079dbc4c9fb488463fb5a81
Cr-Commit-Position: refs/heads/master@{#363864}

Powered by Google App Engine
This is Rietveld 408576698