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

Issue 804813010: QUIC - enabled FLAGS_allow_truncated_connection_ids_for_quic (Closed)

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

Description

QUIC - enabled FLAGS_allow_truncated_connection_ids_for_quic. Set up a FieldTrial which could disable this flag (via finch). When the flag is enabled, chrome sends TCID parameter in CHLO message. It is set to 0. Added ??ByteConnectionId unittests to end_to_end_test.cc (found while comparing the chromium code with internal source tree). R=rch@chromium.org Committed: https://crrev.com/6a4cf3b4810d8391b0962dbacd094b4e42edd6c0 Cr-Commit-Position: refs/heads/master@{#310705}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Enable FLAGS_allow_truncated_connection_ids_for_quic by default #

Total comments: 2

Patch Set 3 : Changes per comments in Patch Set 2 - set MockCryptoClientStream to specify a TCID of 8 #

Total comments: 6

Patch Set 4 : change the polarity of options to quic_enable_truncated_connection_ids #

Total comments: 4

Patch Set 5 : disable truncate_ids by default #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -8 lines) Patch
M chrome/browser/io_thread.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 3 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/io_thread_unittest.cc View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M net/http/http_network_session.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M net/http/http_network_session.cc View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M net/quic/quic_flags.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M net/quic/quic_stream_factory.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M net/quic/quic_stream_factory.cc View 1 2 3 5 chunks +7 lines, -0 lines 0 comments Download
M net/quic/quic_stream_factory_test.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M net/quic/test_tools/mock_crypto_client_stream.cc View 1 2 1 chunk +7 lines, -5 lines 0 comments Download
M net/tools/quic/end_to_end_test.cc View 1 1 chunk +72 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
ramant (doing other things)
5 years, 11 months ago (2015-01-07 23:01:12 UTC) #1
Ryan Hamilton
https://codereview.chromium.org/804813010/diff/1/net/quic/quic_stream_factory.cc File net/quic/quic_stream_factory.cc (right): https://codereview.chromium.org/804813010/diff/1/net/quic/quic_stream_factory.cc#newcode92 net/quic/quic_stream_factory.cc:92: // by default. I think it would be better ...
5 years, 11 months ago (2015-01-07 23:10:23 UTC) #2
ramant (doing other things)
Hi Ryan, This is work-in-progress. Was able to verify that all unittests pass. Would like ...
5 years, 11 months ago (2015-01-08 02:54:51 UTC) #3
Ryan Hamilton
https://codereview.chromium.org/804813010/diff/20001/net/quic/quic_network_transaction_unittest.cc File net/quic/quic_network_transaction_unittest.cc (right): https://codereview.chromium.org/804813010/diff/20001/net/quic/quic_network_transaction_unittest.cc#newcode341 net/quic/quic_network_transaction_unittest.cc:341: 1, kClientDataStreamId1, PACKET_0BYTE_CONNECTION_ID, true, true, As discussed offline, we ...
5 years, 11 months ago (2015-01-08 18:35:44 UTC) #4
ramant (doing other things)
Thanks very much for the offline suggestions. Made all the changes we had talked about. ...
5 years, 11 months ago (2015-01-08 22:21:15 UTC) #6
Ryan Hamilton
Almost there. https://codereview.chromium.org/804813010/diff/60001/chrome/browser/io_thread.h File chrome/browser/io_thread.h (right): https://codereview.chromium.org/804813010/diff/60001/chrome/browser/io_thread.h#newcode197 chrome/browser/io_thread.h:197: Optional<bool> quic_disable_truncated_connection_ids; I think we usually use ...
5 years, 11 months ago (2015-01-08 22:28:07 UTC) #7
ramant (doing other things)
Hi Ryan, I hope I got the default values for the flag right. After these ...
5 years, 11 months ago (2015-01-08 23:06:58 UTC) #8
Ryan Hamilton
LGTM. Tow tiny changes. https://codereview.chromium.org/804813010/diff/80001/chrome/browser/io_thread_unittest.cc File chrome/browser/io_thread_unittest.cc (right): https://codereview.chromium.org/804813010/diff/80001/chrome/browser/io_thread_unittest.cc#newcode149 chrome/browser/io_thread_unittest.cc:149: EXPECT_FALSE(params.quic_enable_truncated_connection_ids); No need to test ...
5 years, 11 months ago (2015-01-08 23:17:00 UTC) #9
ramant (doing other things)
Thanks very much Ryan for all the comments and offline debugging help, raman https://codereview.chromium.org/804813010/diff/80001/chrome/browser/io_thread_unittest.cc File ...
5 years, 11 months ago (2015-01-08 23:40:21 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/804813010/100001
5 years, 11 months ago (2015-01-08 23:41:38 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/43407)
5 years, 11 months ago (2015-01-09 01:38:05 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/804813010/100001
5 years, 11 months ago (2015-01-09 02:45:16 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years, 11 months ago (2015-01-09 03:41:44 UTC) #17
commit-bot: I haz the power
5 years, 11 months ago (2015-01-09 03:42:22 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/6a4cf3b4810d8391b0962dbacd094b4e42edd6c0
Cr-Commit-Position: refs/heads/master@{#310705}

Powered by Google App Engine
This is Rietveld 408576698