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

Unified Diff: net/quic/quic_connection.cc

Issue 854463003: Tell the QUIC AckNotifierManager about packets on serialization, rather (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 | « no previous file | net/quic/quic_flags.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.cc
diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc
index 6f97b5163bbe8ae2e3bb91620ef45198344becac..22fd859468b352600318eff33c3ffb7d5693d7cb 100644
--- a/net/quic/quic_connection.cc
+++ b/net/quic/quic_connection.cc
@@ -1593,6 +1593,10 @@ void QuicConnection::OnSerializedPacket(
if (serialized_packet.retransmittable_frames) {
serialized_packet.retransmittable_frames->
set_encryption_level(encryption_level_);
+
+ if (FLAGS_quic_ack_notifier_informed_on_serialized) {
+ sent_packet_manager_.OnSerializedPacket(serialized_packet);
+ }
}
SendOrQueuePacket(QueuedPacket(serialized_packet, encryption_level_));
}
« no previous file with comments | « no previous file | net/quic/quic_flags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698