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

Issue 2958133002: Change QuicStreamRequest::Request() to take a preferred QuicVersion so that (Closed)

Created:
3 years, 5 months ago by Zhongyi Shi
Modified:
3 years, 5 months ago
Reviewers:
Bence, Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Change QuicStreamRequest::Request() to take a preferred QuicVersion so that the created QuicConnection will use the designated QuicVersion instead of hardcoded QuicVersion in HttpNetworkSession::Param().quic_supported_versions. BUG=689762 Review-Url: https://codereview.chromium.org/2958133002 Cr-Commit-Position: refs/heads/master@{#484769} Committed: https://chromium.googlesource.com/chromium/src/+/a00ca01914a13a1ff5e5fa5d24c746246dd89449

Patch Set 1 #

Patch Set 2 : Add QuicStreamFactoryTest #

Total comments: 8

Patch Set 3 : Add QuicNetworkTransactionTest: select correct Quic Version #

Total comments: 8

Patch Set 4 : rebase #

Patch Set 5 : fix test setup #

Patch Set 6 : self review #

Total comments: 7

Patch Set 7 : Remove supported_versions from QuicStreamFactory #

Patch Set 8 : rebase after upstream checked in #

Patch Set 9 : Re #26 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+339 lines, -187 lines) Patch
M net/http/http_network_session.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M net/http/http_server_properties.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M net/http/http_stream_factory_impl_job.h View 1 2 3 4 3 chunks +6 lines, -0 lines 0 comments Download
M net/http/http_stream_factory_impl_job.cc View 1 2 3 4 5 6 7 8 7 chunks +23 lines, -8 lines 0 comments Download
M net/http/http_stream_factory_impl_job_controller.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_stream_factory_impl_job_controller.cc View 1 2 3 4 5 10 chunks +35 lines, -40 lines 0 comments Download
M net/http/http_stream_factory_test_util.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M net/http/http_stream_factory_test_util.cc View 1 2 3 5 chunks +8 lines, -3 lines 0 comments Download
M net/quic/chromium/quic_network_transaction_unittest.cc View 1 2 3 4 5 1 chunk +117 lines, -0 lines 0 comments Download
M net/quic/chromium/quic_stream_factory.h View 1 2 3 4 5 6 5 chunks +3 lines, -3 lines 0 comments Download
M net/quic/chromium/quic_stream_factory.cc View 1 2 3 4 5 6 12 chunks +25 lines, -19 lines 0 comments Download
M net/quic/chromium/quic_stream_factory_test.cc View 1 2 3 4 5 6 104 chunks +113 lines, -112 lines 0 comments Download

Messages

Total messages: 42 (25 generated)
Zhongyi Shi
Ryan and Bence: PTAL, I will add QuicNetworkTransactionTests once this early patch looks good, thanks!
3 years, 5 months ago (2017-06-28 18:14:12 UTC) #5
Ryan Hamilton
Wow, this CL is astonishingly small! https://codereview.chromium.org/2958133002/diff/20001/net/http/http_server_properties.h File net/http/http_server_properties.h (right): https://codereview.chromium.org/2958133002/diff/20001/net/http/http_server_properties.h#newcode180 net/http/http_server_properties.h:180: HostPortPair host_port_pair() const ...
3 years, 5 months ago (2017-06-28 18:53:15 UTC) #8
Bence
https://codereview.chromium.org/2958133002/diff/40001/net/http/http_server_properties.h File net/http/http_server_properties.h (right): https://codereview.chromium.org/2958133002/diff/40001/net/http/http_server_properties.h#newcode178 net/http/http_server_properties.h:178: const NextProto& protocol() const { return alternative_service_.protocol; } NextProto ...
3 years, 5 months ago (2017-06-28 19:08:58 UTC) #9
Bence
Can you tell me more about how QUIC version negotiation works during the handshake between ...
3 years, 5 months ago (2017-06-28 20:01:02 UTC) #10
Zhongyi Shi
On 2017/06/28 20:01:02, Bence wrote: > Can you tell me more about how QUIC version ...
3 years, 5 months ago (2017-07-05 23:06:56 UTC) #17
Zhongyi Shi
Rebased after splitting the logic to always pick up an AlternativeServiceInfo advertising a QUIC version ...
3 years, 5 months ago (2017-07-05 23:08:59 UTC) #18
Ryan Hamilton
Looks great. Just a few comments. https://codereview.chromium.org/2958133002/diff/160001/net/http/http_stream_factory_impl_job.cc File net/http/http_stream_factory_impl_job.cc (right): https://codereview.chromium.org/2958133002/diff/160001/net/http/http_stream_factory_impl_job.cc#newcode214 net/http/http_stream_factory_impl_job.cc:214: ShouldForceQuic(session, destination, origin_url, ...
3 years, 5 months ago (2017-07-06 13:27:45 UTC) #19
Bence
On 2017/07/05 23:06:56, Zhongyi Shi wrote: > On 2017/06/28 20:01:02, Bence wrote: > > Can ...
3 years, 5 months ago (2017-07-06 17:08:28 UTC) #20
Zhongyi Shi
Thank for helping the review. PTAL! https://codereview.chromium.org/2958133002/diff/160001/net/http/http_stream_factory_impl_job.cc File net/http/http_stream_factory_impl_job.cc (right): https://codereview.chromium.org/2958133002/diff/160001/net/http/http_stream_factory_impl_job.cc#newcode214 net/http/http_stream_factory_impl_job.cc:214: ShouldForceQuic(session, destination, origin_url, ...
3 years, 5 months ago (2017-07-06 18:13:40 UTC) #22
Ryan Hamilton
LGTM, modulo one suggestion https://codereview.chromium.org/2958133002/diff/160001/net/http/http_stream_factory_impl_job.cc File net/http/http_stream_factory_impl_job.cc (right): https://codereview.chromium.org/2958133002/diff/160001/net/http/http_stream_factory_impl_job.cc#newcode214 net/http/http_stream_factory_impl_job.cc:214: ShouldForceQuic(session, destination, origin_url, proxy_info)) On ...
3 years, 5 months ago (2017-07-06 19:00:05 UTC) #26
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/2958133002/220001
3 years, 5 months ago (2017-07-06 19:37:51 UTC) #29
Zhongyi Shi
Thanks Ryan and Bence helping the review, landing now. https://codereview.chromium.org/2958133002/diff/160001/net/http/http_stream_factory_impl_job.cc File net/http/http_stream_factory_impl_job.cc (right): https://codereview.chromium.org/2958133002/diff/160001/net/http/http_stream_factory_impl_job.cc#newcode214 net/http/http_stream_factory_impl_job.cc:214: ...
3 years, 5 months ago (2017-07-06 19:40:56 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/214642)
3 years, 5 months ago (2017-07-06 21:19:15 UTC) #32
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/2958133002/220001
3 years, 5 months ago (2017-07-06 21:22:10 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/214758)
3 years, 5 months ago (2017-07-06 21:56:42 UTC) #36
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/2958133002/220001
3 years, 5 months ago (2017-07-06 22:09:11 UTC) #38
commit-bot: I haz the power
3 years, 5 months ago (2017-07-06 23:37:19 UTC) #42
Message was sent while issue was closed.
Committed patchset #9 (id:220001) as
https://chromium.googlesource.com/chromium/src/+/a00ca01914a13a1ff5e5fa5d24c7...

Powered by Google App Engine
This is Rietveld 408576698