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

Issue 12806002: Land Recent QUIC Changes (Closed)

Created:
7 years, 9 months ago by ramant (doing other things)
Modified:
7 years, 9 months ago
Reviewers:
wtc, Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

Land Recent QUIC Changes Handle versioning by closing the connection on version mismatch for now. Merge internal change: 43606997 Number of cleanups from landing recent crypto changes. Merge internal change: 43606111 Added delta_time_largest_observed to ReceivedPacketInfo to calculate accurate RTT. Merge internal change: 43582099 Implement server-side QUIC key expansion. The derived keys are still not being used yet. TODO: Code is in crypto_test_utils needs to be enabled. Merge internal change: 43570937 Added AbandoningPacket to congestion control to avoid issue with FEC. Merge internal change: 43570099 Wait infinite (aka wait for next ack) is not handled correctly. Merge internal change: 43558636 Enable faster stats for QUIC. Merge internal change: 43557310 Implement QUIC key expansion on the client side. The keys are not being used yet. Merge internal change: 43515237 Add missing quic_stats files. Track some connection stats. Merge internal change: 43506869 Fix bug in WriteQueuedPackets Merge internal change: 43499600 Small comment change in crypto_handshake's ProcessServerHello method. Merge internal change: 43448804 R=rch@chromium.org BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188096

Patch Set 1 #

Patch Set 2 : Fixes to chromium-style errors #

Patch Set 3 : Fix clang chromium-style errors #

Patch Set 4 : Fixes for valgrind and windows unit tests errors. #

Patch Set 5 : Added a TODO for hkdf.cc to delete checks for key_size > 0 #

Patch Set 6 : Minor cleanup #

Patch Set 7 : syncing to get the latest chrome changes and google3 changes #

Patch Set 8 : Added comment for why we added QuicPacketPublicHeader::operator= #

Patch Set 9 : Minor comment update #

Patch Set 10 : Comment update to hkdf.cc #

Total comments: 6

Patch Set 11 : Access elements as output_.data, fix for windows for hkdf.cc #

Patch Set 12 : Reverted the previous patch. Added comments suggested by wtc to hkdf.cc #

Patch Set 13 : minor comment fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2028 lines, -663 lines) Patch
M crypto/hkdf.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +19 lines, -11 lines 0 comments Download
M net/net.gyp View 1 2 3 4 5 6 3 chunks +6 lines, -1 line 0 comments Download
M net/quic/congestion_control/fix_rate_sender.h View 1 2 3 chunks +8 lines, -4 lines 0 comments Download
M net/quic/congestion_control/fix_rate_sender.cc View 1 2 5 chunks +22 lines, -6 lines 0 comments Download
M net/quic/congestion_control/fix_rate_test.cc View 1 4 chunks +16 lines, -19 lines 0 comments Download
M net/quic/congestion_control/hybrid_slow_start.h View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/congestion_control/hybrid_slow_start.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M net/quic/congestion_control/quic_congestion_manager.h View 5 chunks +17 lines, -6 lines 0 comments Download
M net/quic/congestion_control/quic_congestion_manager.cc View 8 chunks +40 lines, -16 lines 0 comments Download
M net/quic/congestion_control/send_algorithm_interface.h View 1 chunk +10 lines, -3 lines 0 comments Download
M net/quic/congestion_control/tcp_cubic_sender.h View 1 chunk +6 lines, -3 lines 0 comments Download
M net/quic/congestion_control/tcp_cubic_sender.cc View 5 chunks +24 lines, -10 lines 0 comments Download
M net/quic/congestion_control/tcp_cubic_sender_test.cc View 5 chunks +12 lines, -12 lines 0 comments Download
M net/quic/crypto/crypto_framer.h View 2 chunks +1 line, -1 line 0 comments Download
M net/quic/crypto/crypto_framer.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/crypto/crypto_framer_test.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/crypto/crypto_handshake.h View 7 chunks +91 lines, -2 lines 0 comments Download
M net/quic/crypto/crypto_handshake.cc View 1 10 chunks +219 lines, -5 lines 0 comments Download
M net/quic/crypto/crypto_protocol.h View 1 chunk +0 lines, -61 lines 0 comments Download
D net/quic/crypto/crypto_protocol.cc View 1 chunk +0 lines, -154 lines 0 comments Download
M net/quic/crypto/null_decrypter.h View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/crypto/null_decrypter.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M net/quic/crypto/null_encrypter.h View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/crypto/null_encrypter.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M net/quic/crypto/quic_decrypter.h View 1 chunk +4 lines, -0 lines 0 comments Download
M net/quic/crypto/quic_decrypter.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M net/quic/crypto/quic_encrypter.h View 1 chunk +4 lines, -0 lines 0 comments Download
M net/quic/crypto/quic_encrypter.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M net/quic/quic_client_session_test.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M net/quic/quic_connection.h View 10 chunks +52 lines, -5 lines 0 comments Download
M net/quic/quic_connection.cc View 1 2 24 chunks +217 lines, -29 lines 0 comments Download
M net/quic/quic_connection_helper_test.cc View 14 chunks +18 lines, -18 lines 0 comments Download
M net/quic/quic_connection_logger.h View 2 chunks +4 lines, -0 lines 0 comments Download
M net/quic/quic_connection_logger.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M net/quic/quic_connection_test.cc View 67 chunks +304 lines, -131 lines 0 comments Download
M net/quic/quic_crypto_client_stream.h View 2 chunks +6 lines, -0 lines 0 comments Download
M net/quic/quic_crypto_client_stream.cc View 3 chunks +7 lines, -1 line 0 comments Download
M net/quic/quic_crypto_client_stream_test.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M net/quic/quic_crypto_server_stream.h View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M net/quic/quic_crypto_server_stream.cc View 1 2 3 4 5 6 2 chunks +6 lines, -3 lines 0 comments Download
M net/quic/quic_crypto_server_stream_test.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M net/quic/quic_crypto_stream.h View 1 chunk +0 lines, -1 line 0 comments Download
M net/quic/quic_crypto_stream.cc View 2 chunks +9 lines, -2 lines 0 comments Download
M net/quic/quic_crypto_stream_test.cc View 2 chunks +2 lines, -1 line 0 comments Download
M net/quic/quic_data_reader.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/quic_framer.h View 8 chunks +35 lines, -3 lines 0 comments Download
M net/quic/quic_framer.cc View 11 chunks +87 lines, -15 lines 0 comments Download
M net/quic/quic_framer_test.cc View 13 chunks +93 lines, -18 lines 0 comments Download
M net/quic/quic_http_stream_test.cc View 11 chunks +17 lines, -14 lines 0 comments Download
M net/quic/quic_network_transaction_unittest.cc View 1 2 3 4 5 6 5 chunks +11 lines, -6 lines 0 comments Download
M net/quic/quic_packet_creator.h View 6 chunks +22 lines, -1 line 0 comments Download
M net/quic/quic_packet_creator.cc View 5 chunks +34 lines, -7 lines 0 comments Download
M net/quic/quic_packet_creator_test.cc View 7 chunks +80 lines, -36 lines 0 comments Download
M net/quic/quic_packet_generator.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/quic/quic_packet_generator.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M net/quic/quic_packet_generator_test.cc View 3 chunks +7 lines, -5 lines 0 comments Download
M net/quic/quic_protocol.h View 1 2 3 9 chunks +31 lines, -1 line 0 comments Download
M net/quic/quic_protocol.cc View 1 2 3 4 5 6 7 4 chunks +34 lines, -3 lines 0 comments Download
M net/quic/quic_reliable_client_stream_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/quic_session_test.cc View 2 chunks +2 lines, -1 line 0 comments Download
A net/quic/quic_stats.h View 1 chunk +50 lines, -0 lines 0 comments Download
A net/quic/quic_stats.cc View 1 chunk +29 lines, -0 lines 0 comments Download
M net/quic/quic_stream_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/quic_stream_factory_test.cc View 5 chunks +11 lines, -6 lines 0 comments Download
M net/quic/quic_time.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/quic_utils.cc View 3 chunks +3 lines, -0 lines 0 comments Download
M net/quic/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 +8 lines, -3 lines 0 comments Download
M net/quic/test_tools/crypto_test_utils.cc View 1 2 3 4 5 6 4 chunks +55 lines, -4 lines 0 comments Download
M net/quic/test_tools/quic_connection_peer.h View 2 chunks +5 lines, -0 lines 0 comments Download
M net/quic/test_tools/quic_connection_peer.cc View 2 chunks +13 lines, -0 lines 0 comments Download
A net/quic/test_tools/quic_framer_peer.h View 1 chunk +35 lines, -0 lines 0 comments Download
A net/quic/test_tools/quic_framer_peer.cc View 1 chunk +36 lines, -0 lines 0 comments Download
A net/quic/test_tools/quic_packet_creator_peer.h View 1 chunk +32 lines, -0 lines 0 comments Download
A net/quic/test_tools/quic_packet_creator_peer.cc View 1 chunk +30 lines, -0 lines 0 comments Download
M net/quic/test_tools/quic_test_utils.h View 10 chunks +30 lines, -9 lines 0 comments Download
M net/quic/test_tools/quic_test_utils.cc View 1 2 3 4 5 6 9 chunks +36 lines, -13 lines 0 comments Download
M net/quic/test_tools/simple_quic_framer.cc View 2 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
ramant (doing other things)
7 years, 9 months ago (2013-03-12 23:03:42 UTC) #1
Ryan Hamilton
lgtm Rockin! I've reviewed all the subsidiary patches and this has the right description.
7 years, 9 months ago (2013-03-12 23:12:21 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtenneti@chromium.org/12806002/39001
7 years, 9 months ago (2013-03-13 22:59:11 UTC) #3
commit-bot: I haz the power
Presubmit check for 12806002-39001 failed and returned exit status 1. INFO:root:Found 77 file(s). Running presubmit ...
7 years, 9 months ago (2013-03-13 22:59:30 UTC) #4
ramant (doing other things)
Hi Wan-Teh, Added a test for key abd iv bytes size to be greater than ...
7 years, 9 months ago (2013-03-13 23:12:42 UTC) #5
wtc
Patch set 10 LGTM. I only reviewed crypto/hkdf.cc. https://chromiumcodereview.appspot.com/12806002/diff/39002/crypto/hkdf.cc File crypto/hkdf.cc (right): https://chromiumcodereview.appspot.com/12806002/diff/39002/crypto/hkdf.cc#newcode75 crypto/hkdf.cc:75: // ...
7 years, 9 months ago (2013-03-14 00:38:08 UTC) #6
ramant (doing other things)
https://chromiumcodereview.appspot.com/12806002/diff/39002/crypto/hkdf.cc File crypto/hkdf.cc (right): https://chromiumcodereview.appspot.com/12806002/diff/39002/crypto/hkdf.cc#newcode75 crypto/hkdf.cc:75: // On Windows, when output's size is zero, dereference ...
7 years, 9 months ago (2013-03-14 03:05:15 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtenneti@chromium.org/12806002/48001
7 years, 9 months ago (2013-03-14 03:11:19 UTC) #8
ramant (doing other things)
https://chromiumcodereview.appspot.com/12806002/diff/39002/crypto/hkdf.cc File crypto/hkdf.cc (right): https://chromiumcodereview.appspot.com/12806002/diff/39002/crypto/hkdf.cc#newcode75 crypto/hkdf.cc:75: // On Windows, when output's size is zero, dereference ...
7 years, 9 months ago (2013-03-14 03:26:20 UTC) #9
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 9 months ago (2013-03-14 03:31:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtenneti@chromium.org/12806002/58003
7 years, 9 months ago (2013-03-14 03:38:39 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=107185
7 years, 9 months ago (2013-03-14 05:10:48 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtenneti@chromium.org/12806002/58003
7 years, 9 months ago (2013-03-14 05:55:57 UTC) #13
commit-bot: I haz the power
7 years, 9 months ago (2013-03-14 16:25:35 UTC) #14
Message was sent while issue was closed.
Change committed as 188096

Powered by Google App Engine
This is Rietveld 408576698