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

Unified Diff: net/quic/quic_sent_packet_manager.cc

Issue 561513003: Landing Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/quic_unacked_packet_map.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_sent_packet_manager.cc
diff --git a/net/quic/quic_sent_packet_manager.cc b/net/quic/quic_sent_packet_manager.cc
index a5b1a9d4b71eb2f9525fa0e5c84e7e127f7634fd..e0f49377f4cab2df5fb761b812385eb792679064 100644
--- a/net/quic/quic_sent_packet_manager.cc
+++ b/net/quic/quic_sent_packet_manager.cc
@@ -210,8 +210,7 @@ void QuicSentPacketManager::OnIncomingAck(const QuicAckFrame& ack_frame,
// If we have received a truncated ack, then we need to clear out some
// previous transmissions to allow the peer to actually ACK new packets.
if (ack_frame.is_truncated) {
- unacked_packets_.ClearPreviousRetransmissions(
- ack_frame.missing_packets.size() / 2);
+ unacked_packets_.ClearAllPreviousRetransmissions();
}
// Anytime we are making forward progress and have a new RTT estimate, reset
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/quic_unacked_packet_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698