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

Issue 1908103002: Landing Recent QUIC changes until 4/15/2016 17:20 UTC (Closed)

Created:
4 years, 8 months ago by Ryan Hamilton
Modified:
4 years, 8 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, dcheng
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 4/15/2016 17:20 UTC Fix a few spurious string allocations in QuicCryptoServerStream and QuicCryptoStream. No functional change. Not flag protected. Merge internal change: 119967190 https://codereview.chromium.org/1906803004/ Quic will push urls in x-associate-content and link headers upon ResponseHeadersComplete(). Change AcceptQuicClient() to start the request pipeline from PICKING_SERVICE for server push stream. Protected by FLAGS_quic_server_push. Implemented server push feature in QUIC. This feature will be enabled by both flag and connection option "kSPSH". Merge internal change: 119871679 https://codereview.chromium.org/1905073002/ Split out QuicAlarm creation from QuicConnectionHelper to new QuicAlarmFactory. No behavior change, not protected. This is in preparation for gRPC-over-QUIC to use a separate QuicAlarmFactory for each GrpcQuicConnection. Currently there exists a single Helper (and after this CL a single AlarmFactory) per Dispatcher, and this is used to create alarms for all Connections. gRPC-over-QUIC needs to add per-connection locking to connection alarms before firing them, and a followup CL will create a different AlarmFactory for each gRPC-over-QUIC connection, each with its own mutex (rather than sharing one mutex across the alarms of connections which is obviously terrible). Merge internal change: 119778209 https://codereview.chromium.org/1905843003/ Make QuicDispatcher's helper argument be a unique_ptr to make ownership clear. No behavior change. (also removes very out of date QuicDispatcher constructor comment) Merge internal change: 119753783 https://codereview.chromium.org/1907773002/ Deprecate FLAGS_quic_sslr_byte_conservation. Merge internal change: 119678304 https://codereview.chromium.org/1906703002/ Deprecate FLAGS_quic_consolidate_onstreamframe_errors Merge internal change: 119653892 https://codereview.chromium.org/1906473004/ Add a server push disabled test. Merge internal change: 119645068 https://codereview.chromium.org/1911653003/ Cleanup: Migrate references from scoped_ptr to std::unique_ptr. scoped_ptr is now just an alias for unique_ptr, so this is a purely textual change. base/scoped_ptr.h will be removed soon. Merge internal change: 119583512 https://codereview.chromium.org/1909453005/ Cleanup: Migrate references from scoped_ptr to std::unique_ptr. scoped_ptr is now just an alias for unique_ptr, so this is a purely textual change. base/scoped_ptr.h will be removed soon. Merge internal change: 119581790 https://codereview.chromium.org/1911653002/ Cleanup: Migrate references from scoped_ptr to std::unique_ptr. scoped_ptr is now just an alias for unique_ptr, so this is a purely textual change. base/scoped_ptr.h will be removed soon. Merge internal change: 119576588 https://codereview.chromium.org/1908723002/ Plumbs new SpdyFramerVisitorInterface method handling through QUIC test utilities, including the test client and test server. Preparation for CL 103292114. Merge internal change: 119568788 https://codereview.chromium.org/1910593004/ Fixes QuicSpdyStream::ConsumeHeaderList to prod the sequencer when headers are consumed. Not yet used in production. Merge internal change: 119562680 https://codereview.chromium.org/1910483004/ Stop returning unused return value from QuicPacketCreator::CopyToBuffer. No functional change. Not flag protected. Merge internal change: 119557380 https://codereview.chromium.org/1897153007/ ignore invalid error code in QuicFramer when process GoAway, ConnectionClose, RstStream frames to do normal goaway, connection close, and stream reset. Flag protected by FLAGS_quic_ignore_invalid_error_code. Merge internal change: 119551887 https://codereview.chromium.org/1904833002/ Adds a DebugString() method to QuicHeaderList. Merge internal change: 119529330 https://codereview.chromium.org/1907683002/ Committed: https://crrev.com/16c74d1d99fc40179bd660f8cbbcab93ec7b4d8d Cr-Commit-Position: refs/heads/master@{#389035}

Patch Set 1 #

Patch Set 2 : git cl format #

Patch Set 3 : Fix comments #

Patch Set 4 : net export #

Patch Set 5 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1534 lines, -832 lines) Patch
M net/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M net/net.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M net/net.gypi View 2 chunks +3 lines, -0 lines 0 comments Download
M net/quic/bidirectional_stream_quic_impl_unittest.cc View 1 3 chunks +6 lines, -3 lines 0 comments Download
M net/quic/congestion_control/tcp_cubic_sender_bytes_test.cc View 2 chunks +1 line, -1 line 0 comments Download
M net/quic/congestion_control/tcp_cubic_sender_packets.cc View 1 chunk +4 lines, -11 lines 0 comments Download
M net/quic/congestion_control/tcp_cubic_sender_packets_test.cc View 1 chunk +0 lines, -1 line 0 comments Download
M net/quic/crypto/aes_128_gcm_12_decrypter_test.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/crypto/aes_128_gcm_12_encrypter_test.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/crypto/cert_compressor.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/crypto/cert_compressor_test.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/crypto/chacha20_poly1305_rfc7539_decrypter_test.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/crypto/chacha20_poly1305_rfc7539_encrypter_test.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/crypto/channel_id_test.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/crypto/crypto_framer.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/crypto/crypto_handshake_message.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/crypto/crypto_handshake_message.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/crypto/crypto_server_test.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M net/quic/crypto/crypto_utils.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/crypto/p256_key_exchange_test.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/crypto/proof_test.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/crypto/quic_crypto_client_config.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/crypto/quic_crypto_server_config.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/crypto/quic_crypto_server_config_test.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/crypto/strike_register_test.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/p2p/quic_p2p_session_test.cc View 1 4 chunks +8 lines, -5 lines 0 comments Download
A net/quic/quic_alarm_factory.h View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download
A net/quic/quic_chromium_alarm_factory.h View 1 1 chunk +48 lines, -0 lines 0 comments Download
A net/quic/quic_chromium_alarm_factory.cc View 1 1 chunk +117 lines, -0 lines 0 comments Download
A net/quic/quic_chromium_alarm_factory_test.cc View 1 chunk +175 lines, -0 lines 0 comments Download
M net/quic/quic_chromium_client_session_test.cc View 1 4 chunks +6 lines, -3 lines 0 comments Download
M net/quic/quic_chromium_client_stream_test.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M net/quic/quic_chromium_connection_helper.h View 1 2 chunks +1 line, -11 lines 0 comments Download
M net/quic/quic_chromium_connection_helper.cc View 1 2 chunks +1 line, -108 lines 0 comments Download
M net/quic/quic_chromium_connection_helper_test.cc View 1 2 chunks +1 line, -153 lines 0 comments Download
M net/quic/quic_client_promised_info.h View 2 chunks +2 lines, -3 lines 0 comments Download
M net/quic/quic_client_promised_info.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M net/quic/quic_client_promised_info_test.cc View 4 chunks +7 lines, -3 lines 0 comments Download
M net/quic/quic_client_push_promise_index_test.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M net/quic/quic_client_session_base.h View 1 chunk +8 lines, -2 lines 0 comments Download
M net/quic/quic_client_session_base.cc View 1 chunk +24 lines, -0 lines 0 comments Download
M net/quic/quic_connection.h View 5 chunks +4 lines, -14 lines 0 comments Download
M net/quic/quic_connection.cc View 3 chunks +14 lines, -7 lines 0 comments Download
M net/quic/quic_connection_logger_unittest.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M net/quic/quic_connection_test.cc View 12 chunks +55 lines, -36 lines 0 comments Download
M net/quic/quic_crypto_client_stream.h View 1 chunk +2 lines, -2 lines 0 comments Download
M net/quic/quic_crypto_client_stream.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/quic_crypto_client_stream_test.cc View 6 chunks +17 lines, -12 lines 0 comments Download
M net/quic/quic_crypto_server_stream.h View 1 chunk +2 lines, -2 lines 0 comments Download
M net/quic/quic_crypto_server_stream.cc View 1 2 3 4 3 chunks +4 lines, -1 line 0 comments Download
M net/quic/quic_crypto_server_stream_test.cc View 5 chunks +16 lines, -11 lines 0 comments Download
M net/quic/quic_crypto_stream.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/quic_crypto_stream_test.cc View 3 chunks +5 lines, -1 line 0 comments Download
M net/quic/quic_flags.h View 1 chunk +1 line, -2 lines 0 comments Download
M net/quic/quic_flags.cc View 1 chunk +4 lines, -8 lines 0 comments Download
M net/quic/quic_flow_controller_test.cc View 3 chunks +4 lines, -1 line 0 comments Download
M net/quic/quic_framer.cc View 4 chunks +24 lines, -8 lines 0 comments Download
M net/quic/quic_header_list.h View 2 chunks +5 lines, -2 lines 0 comments Download
M net/quic/quic_header_list.cc View 2 chunks +11 lines, -0 lines 0 comments Download
M net/quic/quic_header_list_test.cc View 2 chunks +3 lines, -16 lines 0 comments Download
M net/quic/quic_headers_stream_test.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M net/quic/quic_http_stream_test.cc View 1 4 chunks +12 lines, -5 lines 0 comments Download
M net/quic/quic_network_transaction_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/quic_packet_creator.h View 1 chunk +6 lines, -7 lines 0 comments Download
M net/quic/quic_packet_creator.cc View 3 chunks +7 lines, -8 lines 0 comments Download
M net/quic/quic_packet_creator_test.cc View 1 chunk +3 lines, -1 line 0 comments Download
M net/quic/quic_packet_generator_test.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/quic_sent_packet_manager_test.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/quic_session_test.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M net/quic/quic_spdy_session.h View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/quic_spdy_stream.h View 2 chunks +5 lines, -1 line 0 comments Download
M net/quic/quic_spdy_stream.cc View 1 2 chunks +9 lines, -0 lines 0 comments Download
M net/quic/quic_spdy_stream_test.cc View 3 chunks +5 lines, -2 lines 0 comments Download
M net/quic/quic_stream_factory.h View 3 chunks +6 lines, -0 lines 0 comments Download
M net/quic/quic_stream_factory.cc View 1 2 chunks +10 lines, -5 lines 0 comments Download
M net/quic/quic_stream_sequencer.cc View 2 chunks +6 lines, -25 lines 0 comments Download
M net/quic/quic_stream_sequencer_test.cc View 4 chunks +9 lines, -6 lines 0 comments Download
M net/quic/reliable_quic_stream_test.cc View 3 chunks +4 lines, -1 line 0 comments Download
M net/quic/spdy_utils.h View 1 1 chunk +7 lines, -1 line 0 comments Download
M net/quic/spdy_utils.cc View 3 chunks +67 lines, -11 lines 0 comments Download
M net/quic/test_tools/crypto_test_utils.h View 1 chunk +4 lines, -0 lines 0 comments Download
M net/quic/test_tools/crypto_test_utils.cc View 3 chunks +8 lines, -3 lines 0 comments Download
M net/quic/test_tools/crypto_test_utils_openssl.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/test_tools/mock_quic_dispatcher.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/quic/test_tools/mock_quic_dispatcher.cc View 1 chunk +7 lines, -2 lines 0 comments Download
M net/quic/test_tools/quic_connection_peer.h View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/test_tools/quic_connection_peer.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M net/quic/test_tools/quic_packet_creator_peer.h View 1 chunk +7 lines, -7 lines 0 comments Download
M net/quic/test_tools/quic_packet_creator_peer.cc View 1 chunk +8 lines, -8 lines 0 comments Download
M net/quic/test_tools/quic_test_utils.h View 7 chunks +39 lines, -12 lines 0 comments Download
M net/quic/test_tools/quic_test_utils.cc View 8 chunks +25 lines, -9 lines 0 comments Download
M net/quic/test_tools/simple_quic_framer.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/tools/quic/end_to_end_test.cc View 1 8 chunks +44 lines, -3 lines 0 comments Download
M net/tools/quic/quic_client.h View 1 chunk +1 line, -2 lines 0 comments Download
M net/tools/quic/quic_client.cc View 3 chunks +3 lines, -1 line 0 comments Download
M net/tools/quic/quic_client_base.h View 4 chunks +7 lines, -0 lines 0 comments Download
M net/tools/quic/quic_client_base.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/tools/quic/quic_client_session.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/tools/quic/quic_client_session_test.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M net/tools/quic/quic_client_test.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/tools/quic/quic_dispatcher.h View 3 chunks +7 lines, -5 lines 0 comments Download
M net/tools/quic/quic_dispatcher.cc View 3 chunks +13 lines, -8 lines 0 comments Download
M net/tools/quic/quic_dispatcher_test.cc View 17 chunks +40 lines, -23 lines 0 comments Download
A net/tools/quic/quic_epoll_alarm_factory.h View 1 chunk +35 lines, -0 lines 0 comments Download
A net/tools/quic/quic_epoll_alarm_factory.cc View 1 1 chunk +78 lines, -0 lines 0 comments Download
A net/tools/quic/quic_epoll_alarm_factory_test.cc View 1 chunk +126 lines, -0 lines 0 comments Download
M net/tools/quic/quic_epoll_connection_helper.h View 2 chunks +0 lines, -14 lines 0 comments Download
M net/tools/quic/quic_epoll_connection_helper.cc View 1 2 chunks +1 line, -64 lines 0 comments Download
M net/tools/quic/quic_epoll_connection_helper_test.cc View 1 chunk +0 lines, -115 lines 0 comments Download
M net/tools/quic/quic_in_memory_cache.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/tools/quic/quic_server.cc View 3 chunks +10 lines, -3 lines 0 comments Download
M net/tools/quic/quic_server_session_base.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/tools/quic/quic_server_session_base_test.cc View 3 chunks +7 lines, -2 lines 0 comments Download
M net/tools/quic/quic_server_test.cc View 2 chunks +6 lines, -1 line 0 comments Download
M net/tools/quic/quic_simple_client.h View 2 chunks +2 lines, -0 lines 0 comments Download
M net/tools/quic/quic_simple_client.cc View 1 6 chunks +12 lines, -5 lines 0 comments Download
M net/tools/quic/quic_simple_server.h View 2 chunks +4 lines, -0 lines 0 comments Download
M net/tools/quic/quic_simple_server.cc View 1 3 chunks +13 lines, -8 lines 0 comments Download
M net/tools/quic/quic_simple_server_session_test.cc View 5 chunks +9 lines, -3 lines 0 comments Download
M net/tools/quic/quic_simple_server_stream.h View 1 chunk +6 lines, -0 lines 0 comments Download
M net/tools/quic/quic_simple_server_stream.cc View 1 chunk +21 lines, -0 lines 0 comments Download
M net/tools/quic/quic_simple_server_stream_test.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M net/tools/quic/quic_simple_server_test.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M net/tools/quic/quic_spdy_client_stream.h View 2 chunks +10 lines, -0 lines 0 comments Download
M net/tools/quic/quic_spdy_client_stream.cc View 2 chunks +49 lines, -0 lines 0 comments Download
M net/tools/quic/quic_spdy_client_stream_test.cc View 3 chunks +6 lines, -2 lines 0 comments Download
M net/tools/quic/quic_time_wait_list_manager.h View 1 chunk +4 lines, -2 lines 0 comments Download
M net/tools/quic/quic_time_wait_list_manager.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M net/tools/quic/quic_time_wait_list_manager_test.cc View 4 chunks +5 lines, -1 line 0 comments Download
M net/tools/quic/test_tools/mock_quic_time_wait_list_manager.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/tools/quic/test_tools/mock_quic_time_wait_list_manager.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M net/tools/quic/test_tools/packet_dropping_test_writer.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/tools/quic/test_tools/packet_dropping_test_writer.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M net/tools/quic/test_tools/quic_dispatcher_peer.h View 1 chunk +2 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
M net/tools/quic/test_tools/quic_test_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/tools/quic/test_tools/quic_test_client.cc View 1 3 chunks +5 lines, -3 lines 0 comments Download
M net/tools/quic/test_tools/quic_test_server.cc View 4 chunks +13 lines, -5 lines 0 comments Download
M net/tools/quic/test_tools/server_thread.h View 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 25 (14 generated)
Ryan Hamilton
Note: this CL's patch set 2 has git cl format changes.
4 years, 8 months ago (2016-04-21 19:43:56 UTC) #3
ramant (doing other things)
lgtm
4 years, 8 months ago (2016-04-21 21:40:06 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1908103002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1908103002/40001
4 years, 8 months ago (2016-04-21 22:04:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1908103002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1908103002/60001
4 years, 8 months ago (2016-04-21 22:24:19 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/209426)
4 years, 8 months ago (2016-04-22 00:04:25 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1908103002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1908103002/60001
4 years, 8 months ago (2016-04-22 01:27:33 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/209580)
4 years, 8 months ago (2016-04-22 02:39:21 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1908103002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1908103002/60001
4 years, 8 months ago (2016-04-22 04:52:01 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1908103002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1908103002/80001
4 years, 8 months ago (2016-04-22 04:55:34 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-22 06:14:21 UTC) #23
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:44:38 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/16c74d1d99fc40179bd660f8cbbcab93ec7b4d8d
Cr-Commit-Position: refs/heads/master@{#389035}

Powered by Google App Engine
This is Rietveld 408576698