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

Unified Diff: net/quic/core/quic_sent_packet_manager.cc

Issue 2404003002: relnote: Add a new LazyFack loss detection to QUIC triggered by the LFAK connection option. (Closed)
Patch Set: Created 4 years, 2 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/core/quic_protocol.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_sent_packet_manager.cc
diff --git a/net/quic/core/quic_sent_packet_manager.cc b/net/quic/core/quic_sent_packet_manager.cc
index c38db4c754877cab3dfe28698576ab3faa1016e1..aacceb157310085b9c99ef0c8aeab0242b7eeece 100644
--- a/net/quic/core/quic_sent_packet_manager.cc
+++ b/net/quic/core/quic_sent_packet_manager.cc
@@ -152,6 +152,11 @@ void QuicSentPacketManager::SetFromConfig(const QuicConfig& config) {
ContainsQuicTag(config.ReceivedConnectionOptions(), kATIM)) {
general_loss_algorithm_.SetLossDetectionType(kAdaptiveTime);
}
+ if (FLAGS_quic_enable_lazy_fack &&
+ config.HasReceivedConnectionOptions() &&
+ ContainsQuicTag(config.ReceivedConnectionOptions(), kLFAK)) {
+ general_loss_algorithm_.SetLossDetectionType(kLazyFack);
+ }
if (config.HasClientSentConnectionOption(kUNDO, perspective_)) {
undo_pending_retransmits_ = true;
}
« no previous file with comments | « net/quic/core/quic_protocol.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698