gfe-relnote: In QUIC, skip packet threshold loss detection if largest acked is a runt. Protected by gfe2_reloadable_flag_quic_skip_packet_threshold_loss_detection_with_runt.
PiperOrigin-RevId: 299908950
Change-Id: Ie2d6b5201447cf1352a14faabddc7a40e694c805
diff --git a/quic/core/quic_sent_packet_manager.cc b/quic/core/quic_sent_packet_manager.cc
index eb59a8e..bad8aa6 100644
--- a/quic/core/quic_sent_packet_manager.cc
+++ b/quic/core/quic_sent_packet_manager.cc
@@ -292,6 +292,13 @@
uber_loss_algorithm_.EnableAdaptiveReorderingThreshold();
uber_loss_algorithm_.EnableAdaptiveTimeThreshold();
}
+ if (GetQuicReloadableFlag(
+ quic_skip_packet_threshold_loss_detection_with_runt) &&
+ config.HasClientRequestedIndependentOption(kRUNT, perspective)) {
+ QUIC_RELOADABLE_FLAG_COUNT_N(
+ quic_skip_packet_threshold_loss_detection_with_runt, 1, 2);
+ uber_loss_algorithm_.DisablePacketThresholdForRuntPackets();
+ }
if (config.HasClientSentConnectionOption(kCONH, perspective)) {
conservative_handshake_retransmits_ = true;
}