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

Issue 300683008: Land Recent QUIC Changes. (Closed)

Created:
6 years, 7 months ago by ramant (doing other things)
Modified:
6 years, 6 months ago
Reviewers:
wtc, Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org, Ian Swett, alyssar, fnk_, Jana, Robbie Shade, wtc, jar (doing other things)
Visibility:
Public.

Description

Land Recent QUIC Changes. Changes StreamFramePacketOverhead to use offset in determining overhead. Stream overhead changes as the offset changes. Merge internal change: 67881361 https://codereview.chromium.org/304513006/ Fixes bugs in packet size computation in the creator and in the framer mostly related to truncated ack size computation and verification. Fixes a bug where sequence_number_length was incorrectly being allowed to change mid-packet, and actively updates lengths in packets at packet/FEC-group boundary. Adds tests to verify correct detection of ack truncation. Much yak hair was harvested, but no yaks were hurt in the making of this CL. Fixes bugs in packet-size computation in QuicPacketCreator and adds tests. Merge internal change: 67880898 https://codereview.chromium.org/300623009/ clang_tidy: remove redundant .get() calls on smart ptrs Merge internal change: 67852120 https://codereview.chromium.org/304623002/ Update naming of members per style guideline with clang_tidy. + slowStart_ was changed to slow_start_. Merge internal change: 67850333 https://codereview.chromium.org/300263003/ Added a helper function (SetIpInfoInCmsg) for WritePacket which fills in the cmsg with the supplied self address. This is part of "setting QoS on each quic sendmsg." internal CL. Merge internal change: 67783235 https://codereview.chromium.org/300693006/ QUIC: rename GetWriteblockedStreams to GetWriteBlockedStreams. Merge internal change: 67771815 https://codereview.chromium.org/302603007/ Change SendStreamId to take a stream ID argument in quic_session_test.cc I think this makes the OnCanWriteBundlesStreams correct - it now writes data with multiple stream IDs. Also cleanup: use Invoke instead of InvokeWithoutArgs for calls which have no args anyway... Merge internal change: 67763247 https://codereview.chromium.org/307453006/ Rename QUIC's TransmissionInfo pending to in_flight and the associated uses of pending in QuicUnackedPacketMap. Merge internal change: 67762946 https://codereview.chromium.org/302783003/ Add a packet bundler in the internal server so that headers and body go out in the same packet. Tested by checking a small request is 1 packet; negative test fails. Bundle headers with body in outgoing QUIC packets. Merge internal change: 67729594 https://codereview.chromium.org/301563006/ Add an IncreaseLargestObserved to QuicUnackedPacketMap to remove the rtt property from packets. Merge internal change: 67725797 https://codereview.chromium.org/306573002/ Open a new port before closing the original in QUIC's port migration EndToEndTest to ensure a new port is selected every time. Merge internal change: 67703074 https://codereview.chromium.org/297213009/ Simplify QuicSentPacketManager MarkPacketHandled to take an iterator instead of a sequence number and remove the case when it's called in RetransmitUnackedPackets. Merge internal change: 67652345 https://codereview.chromium.org/293383008/ R=rch@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273146

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1019 lines, -378 lines) Patch
M net/net.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/congestion_control/hybrid_slow_start_test.cc View 3 chunks +24 lines, -23 lines 0 comments Download
M net/quic/congestion_control/tcp_loss_algorithm.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/quic/congestion_control/tcp_loss_algorithm_test.cc View 6 chunks +14 lines, -11 lines 0 comments Download
M net/quic/congestion_control/time_loss_algorithm.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/congestion_control/time_loss_algorithm_test.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M net/quic/quic_connection.cc View 3 chunks +10 lines, -3 lines 0 comments Download
M net/quic/quic_connection_test.cc View 4 chunks +19 lines, -11 lines 0 comments Download
M net/quic/quic_data_stream_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/quic_default_packet_writer.h View 1 chunk +5 lines, -0 lines 0 comments Download
M net/quic/quic_framer.h View 1 chunk +7 lines, -1 line 0 comments Download
M net/quic/quic_framer.cc View 5 chunks +32 lines, -27 lines 0 comments Download
M net/quic/quic_framer_test.cc View 13 chunks +247 lines, -23 lines 0 comments Download
M net/quic/quic_packet_creator.h View 2 chunks +5 lines, -3 lines 0 comments Download
M net/quic/quic_packet_creator.cc View 5 chunks +36 lines, -21 lines 0 comments Download
M net/quic/quic_packet_creator_test.cc View 5 chunks +162 lines, -1 line 0 comments Download
M net/quic/quic_protocol.h View 1 chunk +2 lines, -2 lines 0 comments Download
M net/quic/quic_protocol.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M net/quic/quic_sent_packet_manager.h View 1 chunk +4 lines, -4 lines 0 comments Download
M net/quic/quic_sent_packet_manager.cc View 15 chunks +66 lines, -82 lines 0 comments Download
M net/quic/quic_sent_packet_manager_test.cc View 4 chunks +10 lines, -7 lines 0 comments Download
M net/quic/quic_session_test.cc View 5 chunks +29 lines, -24 lines 0 comments Download
M net/quic/quic_unacked_packet_map.h View 7 chunks +29 lines, -35 lines 0 comments Download
M net/quic/quic_unacked_packet_map.cc View 12 chunks +52 lines, -47 lines 0 comments Download
A net/quic/quic_unacked_packet_map_test.cc View 1 chunk +166 lines, -0 lines 0 comments Download
M net/quic/reliable_quic_stream_test.cc View 5 chunks +13 lines, -12 lines 0 comments Download
M net/quic/test_tools/quic_sent_packet_manager_peer.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/test_tools/quic_session_peer.h View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/test_tools/quic_session_peer.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/test_tools/quic_test_utils.h View 1 chunk +5 lines, -0 lines 0 comments Download
M net/quic/test_tools/quic_test_utils.cc View 3 chunks +13 lines, -2 lines 0 comments Download
M net/tools/quic/end_to_end_test.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M net/tools/quic/quic_default_packet_writer.h View 1 chunk +6 lines, -0 lines 0 comments Download
M net/tools/quic/quic_dispatcher_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_socket_utils.h View 1 chunk +5 lines, -0 lines 0 comments Download
M net/tools/quic/quic_socket_utils.cc View 2 chunks +22 lines, -21 lines 0 comments Download
M net/tools/quic/test_tools/quic_test_utils.h View 1 chunk +5 lines, -0 lines 0 comments Download
M net/tools/quic/test_tools/quic_test_utils.cc View 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ramant (doing other things)
6 years, 7 months ago (2014-05-27 23:49:36 UTC) #1
Ryan Hamilton
lgtm
6 years, 7 months ago (2014-05-28 00:30:37 UTC) #2
ramant (doing other things)
The CQ bit was checked by rtenneti@chromium.org
6 years, 7 months ago (2014-05-28 00:31:43 UTC) #3
ramant (doing other things)
On 2014/05/28 00:30:37, Ryan Hamilton wrote: > lgtm Thanks very much Ryan, raman
6 years, 7 months ago (2014-05-28 00:32:25 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtenneti@chromium.org/300683008/1
6 years, 7 months ago (2014-05-28 00:32:56 UTC) #5
commit-bot: I haz the power
Change committed as 273146
6 years, 7 months ago (2014-05-28 03:53:19 UTC) #6
wtc
6 years, 6 months ago (2014-05-28 19:02:50 UTC) #7
Message was sent while issue was closed.
Patch set 1 LGTM.

Powered by Google App Engine
This is Rietveld 408576698