summaryrefslogtreecommitdiffstats
path: root/net/quic/quic_sent_packet_manager.h
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-21 14:51:27 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-21 14:51:27 +0000
commit2d43c4012859e8e1442a24ea8dd4b4ea2bbb1b8f (patch)
treef5edb2534c45ce45a11bdb1cb4bcd5bb980922cf /net/quic/quic_sent_packet_manager.h
parent6080f73298c4dcee40bf9504374994aaf83674f5 (diff)
downloadchromium_src-2d43c4012859e8e1442a24ea8dd4b4ea2bbb1b8f.zip
chromium_src-2d43c4012859e8e1442a24ea8dd4b4ea2bbb1b8f.tar.gz
chromium_src-2d43c4012859e8e1442a24ea8dd4b4ea2bbb1b8f.tar.bz2
Land Recent QUIC changes.
Invoke the ack notifier as soon as a packet is revived, instead of waiting for the final ack, which may never occur. Merge internal change: 65136251 https://codereview.chromium.org/243933003/ Add an EndToEndTest to verify that the server ignores it when a client attempts to negotiate an RTT of 0. Merge internal change: 65131428 https://codereview.chromium.org/242003005/ Don't DCHECK if we get a mismatched QUIC version for a CID in the time wait list. Merge internal change: 65116167 https://codereview.chromium.org/243293004/ Fix that removes any receiver-reported revived packets from pending_retransmissions_ list at the sender, and a couple of other tiny code cleanups. Also enables LargePostFEC end_to_end test, which now passes for 10K runs. Fixes FEC-related bug where sender still tries to retransmit packet that has been indicated as revived by receiver. Also enables end_to_end FEC test. Merge internal change: 65092998 https://codereview.chromium.org/243573006/ Cleanup QuicConfig to combine the client and server hello parsing code into one code path. Merge internal change: 65073176 https://codereview.chromium.org/243633006/ Change FEC test in end_to_end_test so that packet loss is not in place until handshake is finished. (Failure rate of test now at ~0.02%) Small change to QUIC test. Merge internal change: 65067487 https://codereview.chromium.org/243903002/ Fix a potential divide by 0 error if the initial round trip time is specified as 0. Merge internal change: 65060166 https://codereview.chromium.org/243343003/ Change all QUIC negotiable parameters which were suggestions into fixed values. Merge internal change: 65044578 https://codereview.chromium.org/243743004/ R=rch@chromium.org Review URL: https://codereview.chromium.org/244203003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264986 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/quic/quic_sent_packet_manager.h')
-rw-r--r--net/quic/quic_sent_packet_manager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/quic/quic_sent_packet_manager.h b/net/quic/quic_sent_packet_manager.h
index 39a0086..cd0cbed 100644
--- a/net/quic/quic_sent_packet_manager.h
+++ b/net/quic/quic_sent_packet_manager.h
@@ -229,6 +229,12 @@ class NET_EXPORT_PRIVATE QuicSentPacketManager {
// necessary.
void InvokeLossDetection(QuicTime time);
+ // Marks |sequence_number| as having been revived by the peer, but not
+ // received, so the packet remains pending if it is and the congestion control
+ // does not consider the packet acked.
+ void MarkPacketRevived(QuicPacketSequenceNumber sequence_number,
+ QuicTime::Delta delta_largest_observed);
+
// Marks |sequence_number| as being fully handled, either due to receipt
// by the peer, or having been discarded as indecipherable. Returns an
// iterator to the next remaining unacked packet.