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

Issue 2236973002: Landing Recent QUIC changes until 4AM, Aug 7, 2016 UTC-4 (Closed)

Created:
4 years, 4 months ago by danzh1
Modified:
4 years, 4 months ago
Reviewers:
Ryan Hamilton, xunjieli
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Landing Recent QUIC changes until 4AM, Aug 7, 2016 UTC-4 Update quic flags. https://codereview.chromium.org/2233943002/#ps40001 Removing obselete TODO Merge internal change: 129550025 https://codereview.chromium.org/2228403004/#ps20001 Fix bug in QUIC force HOL blocking experiment, guarded by --quic_enable_version_36_v2. Make sure that new QUIC paramenter FHOL (force head of line blocking) propagates to and from CHLO correctly. Merge internal change: 129481622 https://codereview.chromium.org/2230223003/#ps20001 Refactor SendAlgorithmSimulator to accept arbitrary termination predicates Also, correct the description of SendAlgorithmSimulator::TransferBytes() to reflect its actual behavior. n/a (test-only change) Merge internal change: 129468670 https://codereview.chromium.org/2236533002/#ps20001 Adding a test utility to print QuicTagValueMaps. Merge internal change: 129456177 https://codereview.chromium.org/2236513002/#ps20001 Rename QuicSupportedVersions to QuicAllSupportedVersions. Add QuicCurrentSupportedVersions which returns filtered supported versions based on flags. Not flag protected. Merge internal change: 129440821 https://codereview.chromium.org/2236463004/#ps40001 Test only. Fix quic e2e test flakiness caused by quic_buffer_packet_till_chlo. Add this flag into test argument permutation to avoid testing cheap stateless reject without enabling buffering out of order packets. Merge internal change: 129437595 https://codereview.chromium.org/2231463003/#ps20001 Introduce TTL in QuicReceivedPacket. Merge internal change: 129363578 https://codereview.chromium.org/2229703003/#ps20001 Change use of std::tuple/std::get to testing::tuple/testing::get so that parameterized test in quic_headers_stream_test.cc compiles not only for internal and chromium, but also for the proto-quic environment. n/a (Testing only.) Merge internal change: 129359661 https://codereview.chromium.org/2233453002/#ps20001 Fix memory corruption from SetMaxPacingRate by inlining PacingSender. This behavior can be disabled by setting quic_disable_pacing_for_perf_tests to true. Merge internal change: 129356268 https://codereview.chromium.org/2228783004/#ps20001 Track when QUIC connections are application limited. Protected by quic_enable_app_limited_check. This CL notifies the congestion control algorithm when the connection has no outstanding data to send. No behavior change is expected. Merge internal change: 129351671 https://codereview.chromium.org/2229023002/#ps20001 Make QuicDispatcher to queue packets for new connections while waiting for CHLOs. Flag protected by --quic_buffer_packet_till_chlo Merge internal change: 129327247 https://codereview.chromium.org/2222393002/#ps20001 QuicSession no longer directly owns its QuicConnection. Not flag protected. Merge internal change: 129318081 https://codereview.chromium.org/2226643004/ Add VersionOfIndex() to quic_protocol.h Merge internal change: 129226757 https://codereview.chromium.org/2220333003/ Increments spdy_framer_use_new_methods2 to spdy_framer_use_new_methods3. Merge internal change: 129220409 https://codereview.chromium.org/2225153002/ Use the CHLO packet size, not message size when determining how large a REJ can be. Protected by --quic_use_chlo_packet_size This should reduce number of round trips during the handshake slightly. Merge internal change: 129160718 https://codereview.chromium.org/2227553003/ Rollback of internal changelist 128865569. *** Original change description *** Inline PacingSender into QuicSentPacketManager. Guarded by quic_use_inline_pacing. *** Merge internal change: 129101660 https://codereview.chromium.org/2228613002/ Add GetDebugState() in SendAlgorithmInterface(). Merge internal change: 129053230 https://codereview.chromium.org/2222093002/ Remove v33 connection id public flags hack. Protected by --quic_remove_v33_hacks. Merge internal change: 129015386 https://codereview.chromium.org/2223993002/ Deprecate --quic_socket_walltimestamps Merge internal change: 129001103 https://codereview.chromium.org/2229553003/ Deprecate --quic_do_not_migrate_on_old_packet. Merge internal change: 128998762 https://codereview.chromium.org/2221093002/ Flatten GeneralLossAlgorithm into QuicSentPacketManager. Not flag protected. Also reorder GeneralLossAlgorithm per the class layout optimizer recommendation. Merge internal change: 128997036 https://codereview.chromium.org/2223983002/ Committed: https://crrev.com/3134c2563efdae541721a494b267c24dfea155ca Cr-Commit-Position: refs/heads/master@{#411638}

Patch Set 1 #

Patch Set 2 : Change error message to solve test flakiness #

Total comments: 1

Patch Set 3 : flip quic_sequencer_buffer_retire_block_in_time to true #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1731 lines, -692 lines) Patch
M chrome/browser/io_thread_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/cronet/android/test/quic_test_server.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/cronet/ios/test/quic_test_server.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/network_session_configurator/network_session_configurator.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/network_session_configurator/network_session_configurator_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/http/http_stream_factory_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/net.gypi View 2 chunks +4 lines, -0 lines 0 comments Download
M net/quic/chromium/bidirectional_stream_quic_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/chromium/quic_chromium_client_session_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/chromium/quic_chromium_client_stream_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/chromium/quic_http_stream_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/chromium/quic_network_transaction_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M net/quic/chromium/quic_stream_factory_test.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/quic/core/congestion_control/general_loss_algorithm.h View 2 chunks +4 lines, -1 line 0 comments Download
M net/quic/core/congestion_control/general_loss_algorithm.cc View 2 chunks +9 lines, -7 lines 0 comments Download
M net/quic/core/congestion_control/pacing_sender.h View 2 chunks +19 lines, -32 lines 0 comments Download
M net/quic/core/congestion_control/pacing_sender.cc View 6 chunks +15 lines, -72 lines 0 comments Download
M net/quic/core/congestion_control/pacing_sender_test.cc View 5 chunks +7 lines, -72 lines 0 comments Download
M net/quic/core/congestion_control/send_algorithm_interface.h View 1 chunk +18 lines, -0 lines 0 comments Download
M net/quic/core/congestion_control/send_algorithm_simulator.h View 1 chunk +9 lines, -2 lines 0 comments Download
M net/quic/core/congestion_control/send_algorithm_simulator.cc View 2 chunks +14 lines, -7 lines 0 comments Download
M net/quic/core/congestion_control/tcp_cubic_sender_base.h View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/core/congestion_control/tcp_cubic_sender_base.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M net/quic/core/crypto/crypto_server_test.cc View 5 chunks +38 lines, -3 lines 0 comments Download
M net/quic/core/crypto/proof_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/core/crypto/quic_crypto_client_config.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/core/crypto/quic_crypto_client_config_test.cc View 5 chunks +8 lines, -8 lines 0 comments Download
M net/quic/core/crypto/quic_crypto_server_config.h View 3 chunks +6 lines, -0 lines 0 comments Download
M net/quic/core/crypto/quic_crypto_server_config.cc View 5 chunks +14 lines, -2 lines 0 comments Download
M net/quic/core/quic_buffered_packet_store_test.cc View 2 chunks +1 line, -7 lines 0 comments Download
M net/quic/core/quic_client_session_base.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/quic/core/quic_client_session_base.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/core/quic_config.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M net/quic/core/quic_config_test.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M net/quic/core/quic_connection.h View 1 chunk +4 lines, -0 lines 0 comments Download
M net/quic/core/quic_connection.cc View 4 chunks +31 lines, -3 lines 0 comments Download
M net/quic/core/quic_connection_test.cc View 13 chunks +65 lines, -17 lines 0 comments Download
M net/quic/core/quic_crypto_client_stream.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/core/quic_crypto_client_stream_test.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/quic/core/quic_crypto_server_stream.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/quic/core/quic_crypto_server_stream.cc View 3 chunks +5 lines, -2 lines 0 comments Download
M net/quic/core/quic_crypto_server_stream_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/core/quic_crypto_stream.h View 1 chunk +4 lines, -0 lines 0 comments Download
M net/quic/core/quic_crypto_stream.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M net/quic/core/quic_end_to_end_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/core/quic_flags.h View 2 chunks +5 lines, -3 lines 0 comments Download
M net/quic/core/quic_flags.cc View 1 2 4 chunks +23 lines, -15 lines 0 comments Download
M net/quic/core/quic_framer.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/quic/core/quic_framer_test.cc View 6 chunks +10 lines, -6 lines 0 comments Download
M net/quic/core/quic_headers_stream_test.cc View 5 chunks +9 lines, -9 lines 0 comments Download
M net/quic/core/quic_multipath_sent_packet_manager.h View 2 chunks +6 lines, -0 lines 0 comments Download
M net/quic/core/quic_multipath_sent_packet_manager.cc View 2 chunks +27 lines, -0 lines 0 comments Download
M net/quic/core/quic_multipath_sent_packet_manager_test.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M net/quic/core/quic_packet_creator_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/core/quic_packet_generator_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/core/quic_protocol.h View 7 chunks +24 lines, -5 lines 0 comments Download
M net/quic/core/quic_protocol.cc View 8 chunks +45 lines, -16 lines 0 comments Download
M net/quic/core/quic_protocol_test.cc View 2 chunks +20 lines, -6 lines 0 comments Download
M net/quic/core/quic_received_packet_manager_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/core/quic_sent_packet_manager.h View 7 chunks +19 lines, -7 lines 0 comments Download
M net/quic/core/quic_sent_packet_manager.cc View 13 chunks +40 lines, -56 lines 0 comments Download
M net/quic/core/quic_sent_packet_manager_interface.h View 2 chunks +8 lines, -0 lines 0 comments Download
M net/quic/core/quic_sent_packet_manager_test.cc View 4 chunks +7 lines, -7 lines 0 comments Download
M net/quic/core/quic_server_session_base.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/quic/core/quic_server_session_base_test.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/quic/core/quic_session.h View 3 chunks +4 lines, -4 lines 0 comments Download
M net/quic/core/quic_session.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/quic/core/quic_session_test.cc View 9 chunks +55 lines, -2 lines 0 comments Download
M net/quic/core/quic_spdy_session.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/core/quic_spdy_stream_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/core/quic_utils.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/quic/core/quic_utils.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M net/quic/core/quic_utils_test.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M net/quic/core/reliable_quic_stream_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/test_tools/crypto_test_utils.h View 2 chunks +14 lines, -0 lines 0 comments Download
M net/quic/test_tools/crypto_test_utils.cc View 5 chunks +60 lines, -5 lines 0 comments Download
M net/quic/test_tools/crypto_test_utils_test.cc View 2 chunks +4 lines, -3 lines 0 comments Download
A net/quic/test_tools/quic_buffered_packet_store_peer.h View 1 chunk +33 lines, -0 lines 0 comments Download
A net/quic/test_tools/quic_buffered_packet_store_peer.cc View 1 chunk +25 lines, -0 lines 0 comments Download
M net/quic/test_tools/quic_connection_peer.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/quic/test_tools/quic_connection_peer.cc View 3 chunks +9 lines, -5 lines 0 comments Download
M net/quic/test_tools/quic_sent_packet_manager_peer.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M net/quic/test_tools/quic_test_utils.h View 8 chunks +9 lines, -2 lines 0 comments Download
M net/quic/test_tools/quic_test_utils.cc View 10 chunks +19 lines, -12 lines 0 comments Download
M net/quic/test_tools/simple_quic_framer.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/chlo_extractor.cc View 1 chunk +3 lines, -1 line 0 comments Download
M net/tools/quic/chlo_extractor_test.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M net/tools/quic/end_to_end_test.cc View 14 chunks +174 lines, -81 lines 0 comments Download
M net/tools/quic/quic_client_base.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/tools/quic/quic_client_bin.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_client_session.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/tools/quic/quic_client_session_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_client_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_dispatcher.h View 5 chunks +25 lines, -3 lines 0 comments Download
M net/tools/quic/quic_dispatcher.cc View 1 6 chunks +87 lines, -28 lines 0 comments Download
M net/tools/quic/quic_dispatcher_test.cc View 26 chunks +400 lines, -49 lines 0 comments Download
M net/tools/quic/quic_packet_printer_bin.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_packet_reader.cc View 5 chunks +17 lines, -35 lines 0 comments Download
M net/tools/quic/quic_server.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_server_bin.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_server_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_simple_client_bin.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_simple_client_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_simple_server_bin.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_simple_server_session.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/tools/quic/quic_simple_server_session.cc View 1 chunk +3 lines, -1 line 0 comments Download
M net/tools/quic/quic_simple_server_session_test.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/tools/quic/quic_simple_server_stream_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_simple_server_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_socket_utils.h View 2 chunks +7 lines, -10 lines 0 comments Download
M net/tools/quic/quic_socket_utils.cc View 5 chunks +20 lines, -18 lines 0 comments Download
M net/tools/quic/quic_time_wait_list_manager_test.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M net/tools/quic/stateless_rejector.h View 2 chunks +2 lines, -0 lines 0 comments Download
M net/tools/quic/stateless_rejector.cc View 3 chunks +5 lines, -2 lines 0 comments Download
M net/tools/quic/stateless_rejector_test.cc View 2 chunks +3 lines, -2 lines 0 comments Download
A net/tools/quic/test_tools/packet_reordering_writer.h View 1 chunk +45 lines, -0 lines 0 comments Download
A net/tools/quic/test_tools/packet_reordering_writer.cc View 1 chunk +50 lines, -0 lines 0 comments Download
M net/tools/quic/test_tools/quic_dispatcher_peer.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/tools/quic/test_tools/quic_dispatcher_peer.cc View 1 chunk +6 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 38 (22 generated)
danzh1
4 years, 4 months ago (2016-08-11 15:19:05 UTC) #6
Ryan Hamilton
looks good, modulo the flag https://codereview.chromium.org/2236973002/diff/20001/net/quic/core/quic_flags.cc File net/quic/core/quic_flags.cc (right): https://codereview.chromium.org/2236973002/diff/20001/net/quic/core/quic_flags.cc#newcode127 net/quic/core/quic_flags.cc:127: bool FLAGS_quic_sequencer_buffer_retire_block_in_time = false; ...
4 years, 4 months ago (2016-08-11 18:36:16 UTC) #9
danzh1
On 2016/08/11 18:36:16, Ryan Hamilton wrote: > looks good, modulo the flag > > https://codereview.chromium.org/2236973002/diff/20001/net/quic/core/quic_flags.cc ...
4 years, 4 months ago (2016-08-11 19:11:12 UTC) #10
Ryan Hamilton
lgtm
4 years, 4 months ago (2016-08-11 19:46:56 UTC) #12
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/2236973002/40001
4 years, 4 months ago (2016-08-11 19:47:30 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/236269)
4 years, 4 months ago (2016-08-11 19:59:30 UTC) #15
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/2236973002/40001
4 years, 4 months ago (2016-08-11 20:09:46 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/236288)
4 years, 4 months ago (2016-08-11 20:19:42 UTC) #20
danzh1
Helen, can you take a look at changes under components/cronet? Missing owner's LGTM
4 years, 4 months ago (2016-08-11 20:28:57 UTC) #22
xunjieli
On 2016/08/11 20:28:57, danzh1 wrote: > Helen, can you take a look at changes under ...
4 years, 4 months ago (2016-08-11 20:31:09 UTC) #23
danzh1
On 2016/08/11 20:28:57, danzh1 wrote: > Helen, can you take a look at changes under ...
4 years, 4 months ago (2016-08-11 20:32:10 UTC) #24
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/2236973002/40001
4 years, 4 months ago (2016-08-11 20:33:37 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/276356)
4 years, 4 months ago (2016-08-11 23:34:19 UTC) #28
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/2236973002/40001
4 years, 4 months ago (2016-08-12 14:02:00 UTC) #34
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-12 14:08:09 UTC) #36
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 14:09:31 UTC) #38
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3134c2563efdae541721a494b267c24dfea155ca
Cr-Commit-Position: refs/heads/master@{#411638}

Powered by Google App Engine
This is Rietveld 408576698