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

Unified Diff: net/quic/quic_sent_packet_manager.cc

Issue 1918953003: Landing Recent QUIC changes until 4/22/2016 14:55 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Deleted SpdyFramerTests missed while mergeing 120451808 Created 4 years, 8 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.cc ('k') | net/quic/quic_unacked_packet_map.cc » ('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 bed16fe8e7a4de13cc2d6d716a37abf9b6689afe..1dc40bfcd5fb9a2634e36065da0f9e1653c230ab 100644
--- a/net/quic/quic_sent_packet_manager.cc
+++ b/net/quic/quic_sent_packet_manager.cc
@@ -295,7 +295,7 @@ void QuicSentPacketManager::HandleAckForSentPackets(
if (ack_frame.missing_packets.Contains(packet_number)) {
// Don't continue to increase the nack count for packets not in flight.
- if (!it->in_flight) {
+ if (FLAGS_quic_simplify_loss_detection || !it->in_flight) {
continue;
}
// Consider it multiple nacks when there is a gap between the missing
@@ -440,7 +440,7 @@ PendingRetransmission QuicSentPacketManager::NextPendingRetransmission() {
return PendingRetransmission(path_id_, packet_number, transmission_type,
transmission_info.retransmittable_frames,
transmission_info.has_crypto_handshake,
- transmission_info.needs_padding,
+ transmission_info.num_padding_bytes,
transmission_info.encryption_level,
transmission_info.packet_number_length);
}
« no previous file with comments | « net/quic/quic_protocol.cc ('k') | net/quic/quic_unacked_packet_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698