gfe-relnote: Deprecate gfe2_reloadable_flag_quic_enable_pto.
PiperOrigin-RevId: 289149900
Change-Id: I6eaff9cd45487f4506da63e102f849ac0c44f56e
diff --git a/quic/core/quic_sent_packet_manager.cc b/quic/core/quic_sent_packet_manager.cc
index 6f5e348..842e5e8 100644
--- a/quic/core/quic_sent_packet_manager.cc
+++ b/quic/core/quic_sent_packet_manager.cc
@@ -148,16 +148,12 @@
min_rto_timeout_ = kAlarmGranularity;
}
- if (GetQuicReloadableFlag(quic_enable_pto)) {
- if (config.HasClientSentConnectionOption(k2PTO, perspective)) {
- pto_enabled_ = true;
- QUIC_RELOADABLE_FLAG_COUNT_N(quic_enable_pto, 2, 8);
- }
- if (config.HasClientSentConnectionOption(k1PTO, perspective)) {
- pto_enabled_ = true;
- max_probe_packets_per_pto_ = 1;
- QUIC_RELOADABLE_FLAG_COUNT_N(quic_enable_pto, 1, 8);
- }
+ if (config.HasClientSentConnectionOption(k2PTO, perspective)) {
+ pto_enabled_ = true;
+ }
+ if (config.HasClientSentConnectionOption(k1PTO, perspective)) {
+ pto_enabled_ = true;
+ max_probe_packets_per_pto_ = 1;
}
if (GetQuicReloadableFlag(quic_skip_packet_number_for_pto) &&
@@ -174,19 +170,15 @@
if (pto_enabled_) {
if (config.HasClientSentConnectionOption(kPTOA, perspective)) {
- QUIC_RELOADABLE_FLAG_COUNT_N(quic_enable_pto, 5, 8);
always_include_max_ack_delay_for_pto_timeout_ = false;
}
if (config.HasClientSentConnectionOption(kPEB1, perspective)) {
- QUIC_RELOADABLE_FLAG_COUNT_N(quic_enable_pto, 6, 8);
StartExponentialBackoffAfterNthPto(1);
}
if (config.HasClientSentConnectionOption(kPEB2, perspective)) {
- QUIC_RELOADABLE_FLAG_COUNT_N(quic_enable_pto, 7, 8);
StartExponentialBackoffAfterNthPto(2);
}
if (config.HasClientSentConnectionOption(kPVS1, perspective)) {
- QUIC_RELOADABLE_FLAG_COUNT_N(quic_enable_pto, 8, 8);
pto_rttvar_multiplier_ = 2;
}
if (config.HasClientSentConnectionOption(kPAG1, perspective)) {