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

Unified Diff: net/quic/quic_sent_packet_manager.cc

Issue 789103013: Land Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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_stream_factory.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 b71b300684adc8f1d29852ec7a432be94ccffc29..f2c514b4bcc0b09891ab4413d256e9ac9279be26 100644
--- a/net/quic/quic_sent_packet_manager.cc
+++ b/net/quic/quic_sent_packet_manager.cc
@@ -467,9 +467,10 @@ void QuicSentPacketManager::MarkPacketRevived(
// The AckNotifierManager needs to be notified for revived packets,
// since it indicates the packet arrived from the appliction's perspective.
- if (transmission_info.retransmittable_frames) {
- ack_notifier_manager_.OnPacketAcked(
- newest_transmission, delta_largest_observed);
+ if (FLAGS_quic_attach_ack_notifiers_to_packets ||
+ transmission_info.retransmittable_frames) {
+ ack_notifier_manager_.OnPacketAcked(newest_transmission,
+ delta_largest_observed);
}
unacked_packets_.RemoveRetransmittability(sequence_number);
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698