summaryrefslogtreecommitdiffstats
path: root/net/quic/quic_received_packet_manager.cc
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-24 02:53:21 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-24 02:53:21 +0000
commitc67a82cbf39e28a9160158c6f9638bed0c934f6f (patch)
tree1c5e5cf813bcc5095b750daa1a730f1898d9d50c /net/quic/quic_received_packet_manager.cc
parentc2b68c83f9d9031bdcc9d7bf1723e013ab919752 (diff)
downloadchromium_src-c67a82cbf39e28a9160158c6f9638bed0c934f6f.zip
chromium_src-c67a82cbf39e28a9160158c6f9638bed0c934f6f.tar.gz
chromium_src-c67a82cbf39e28a9160158c6f9638bed0c934f6f.tar.bz2
Land Recent QUIC changes.
Flag protect (and default to off) the new QUIC retransmission history tracking. Merge internal change: 52291286 Do not send retransmissions of packets if a previous transmission has been acked. Merge internal change: 52261869 Send ACKs in response to every packet when a QUIC connection has missing packets from the peer. Merge internal change: 52247928 Rename CongestionWindow to SendWindow in several place in TcpCubicSender, in particular when we have taken a min(cwnd, rwin). Merge internal change: 52246424 Remove Q008 from the protocol. Merge internal change: 52231392 Also removed Q007 and the TODO with deleting the code when we delete version Q007 and Q008. Retransmit whatever the congestion manager tells us to, and use the correct RTO timeout when multiple sequential RTO's fire. Merge internal change: 52231261 Change Retransmission to TransmissionType and split IS_RETRANSMISSION into NACK_RETRANSMISSION and RTO_RETRANSMISSION so they can be differentiated by the congestion control. Merge internal change: 52187292 Track the retransmission history of a QUIC packet so that if a previous version of the packet is ack'd, the data is not re-sent. Merge internal change: 52125881 R=rch@chromium.org Review URL: https://chromiumcodereview.appspot.com/23514073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224863 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/quic/quic_received_packet_manager.cc')
-rw-r--r--net/quic/quic_received_packet_manager.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/quic/quic_received_packet_manager.cc b/net/quic/quic_received_packet_manager.cc
index 9a136db..81868ac 100644
--- a/net/quic/quic_received_packet_manager.cc
+++ b/net/quic/quic_received_packet_manager.cc
@@ -185,4 +185,8 @@ void QuicReceivedPacketManager::UpdatePacketInformationSentByPeer(
peer_least_packet_awaiting_ack_);
}
+size_t QuicReceivedPacketManager::GetNumMissingPackets() {
+ return received_info_.missing_packets.size();
+}
+
} // namespace net