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

Issue 478153003: Change the wire format of the ack frame to include a compressed version (Closed)

Created:
6 years, 4 months ago by ramant (doing other things)
Modified:
6 years, 3 months ago
Reviewers:
Ian Swett, cyr, Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Change the wire format of the ack frame to include a compressed version of the previous CongestionFeedback Timestamp frame. Adds QUIC_VERSION_23. Deprecate CongestionFeedbackFrame 1 bytes - num_received_packets First packet: 1 byte - distance from the largest observed in sequence number space. 4 bytes - mod of microseconds since the connection's creation when the packet arrived. (1.1hrs in us) Every other packet: 1 byte - distance from the largest observed in sequence number space. 2 bytes - mod of microseconds since the previous timestamp Merge internal change: 73740829 The following are chromium specific changes: + Changed ACK frame not to send CongestionFeedback frame + Added received_packet_times to ACK frame. + The timestamp that is sent is relative to creation time, thus passed MockClock's now() as argument to AckFrame and it is used to pass QuicFramer's creation time and received_packet_times. R=cyr@google.com, ianswett@google.com, rch@chromium.org Committed: https://crrev.com/4b06ae7cc281996b6a6e5989ef70a54ee3b4ed79 Cr-Commit-Position: refs/heads/master@{#291830}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Pass clock to QuicTestPacketMaker and use it in AckPacket #

Patch Set 3 : rebase TOT and pass clock to QuicTestPacketMaker and use it in AckPacket #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1264 lines, -159 lines) Patch
M net/quic/congestion_control/receive_algorithm_interface.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M net/quic/crypto/crypto_protocol.h View 1 chunk +0 lines, -1 line 0 comments Download
M net/quic/quic_config_test.cc View 3 chunks +3 lines, -4 lines 0 comments Download
M net/quic/quic_connection.cc View 3 chunks +10 lines, -10 lines 0 comments Download
M net/quic/quic_connection_logger.cc View 1 chunk +0 lines, -13 lines 0 comments Download
M net/quic/quic_connection_test.cc View 1 2 1 chunk +13 lines, -4 lines 0 comments Download
M net/quic/quic_framer.h View 5 chunks +13 lines, -1 line 0 comments Download
M net/quic/quic_framer.cc View 14 chunks +189 lines, -26 lines 0 comments Download
M net/quic/quic_framer_test.cc View 40 chunks +937 lines, -35 lines 0 comments Download
M net/quic/quic_http_stream_test.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M net/quic/quic_network_transaction_unittest.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M net/quic/quic_packet_creator.cc View 1 chunk +8 lines, -7 lines 0 comments Download
M net/quic/quic_protocol.h View 10 chunks +18 lines, -14 lines 0 comments Download
M net/quic/quic_protocol.cc View 6 chunks +11 lines, -18 lines 0 comments Download
M net/quic/quic_received_packet_manager.h View 3 chunks +4 lines, -2 lines 0 comments Download
M net/quic/quic_received_packet_manager.cc View 4 chunks +15 lines, -2 lines 0 comments Download
M net/quic/quic_received_packet_manager_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/quic_stream_factory_test.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M net/quic/test_tools/mock_crypto_client_stream.cc View 1 chunk +4 lines, -1 line 0 comments Download
M net/quic/test_tools/quic_test_packet_maker.h View 1 3 chunks +5 lines, -1 line 0 comments Download
M net/quic/test_tools/quic_test_packet_maker.cc View 1 4 chunks +26 lines, -9 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
ramant (doing other things)
6 years, 4 months ago (2014-08-23 18:18:39 UTC) #1
ramant (doing other things)
https://codereview.chromium.org/478153003/diff/1/net/quic/quic_network_transaction_unittest.cc File net/quic/quic_network_transaction_unittest.cc (right): https://codereview.chromium.org/478153003/diff/1/net/quic/quic_network_transaction_unittest.cc#newcode147 net/quic/quic_network_transaction_unittest.cc:147: clock_->Now()); Hi Ryan, In QuicFramer::AppendTimestampToAckFrame, the time sent is ...
6 years, 4 months ago (2014-08-23 18:35:32 UTC) #2
ramant (doing other things)
https://codereview.chromium.org/478153003/diff/20001/net/quic/quic_network_transaction_unittest.cc File net/quic/quic_network_transaction_unittest.cc (right): https://codereview.chromium.org/478153003/diff/20001/net/quic/quic_network_transaction_unittest.cc#newcode147 net/quic/quic_network_transaction_unittest.cc:147: clock_->Now()); Hi Ryan, In QuicFramer::AppendTimestampToAckFrame, the time sent is ...
6 years, 4 months ago (2014-08-23 23:55:29 UTC) #3
Ryan Hamilton
LGTM. One possibility to consider. I'm not sure it's better; your call. Thanks so much ...
6 years, 4 months ago (2014-08-25 22:07:51 UTC) #4
ramant (doing other things)
PTAL. Thanks much Ryan, raman https://codereview.chromium.org/478153003/diff/20001/net/quic/quic_network_transaction_unittest.cc File net/quic/quic_network_transaction_unittest.cc (right): https://codereview.chromium.org/478153003/diff/20001/net/quic/quic_network_transaction_unittest.cc#newcode147 net/quic/quic_network_transaction_unittest.cc:147: clock_->Now()); On 2014/08/25 22:07:51, ...
6 years, 4 months ago (2014-08-25 23:39:35 UTC) #5
ramant (doing other things)
The CQ bit was checked by rtenneti@chromium.org
6 years, 4 months ago (2014-08-26 00:41:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtenneti@chromium.org/478153003/60001
6 years, 4 months ago (2014-08-26 00:41:49 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (60001) as a7d27122744fbbdee720511cc670908ddd5da13a
6 years, 4 months ago (2014-08-26 03:43:52 UTC) #8
Mostyn Bramley-Moore
This CL added a c++11 lambda expression in quic_received_packet_manager.cc - would you accept a patch ...
6 years, 3 months ago (2014-09-09 23:36:37 UTC) #9
Ryan Hamilton
Definitely! Feel free to just cook up a CL. (Can't wait until we get C++11 ...
6 years, 3 months ago (2014-09-10 01:44:37 UTC) #10
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:40:05 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4b06ae7cc281996b6a6e5989ef70a54ee3b4ed79
Cr-Commit-Position: refs/heads/master@{#291830}

Powered by Google App Engine
This is Rietveld 408576698