Deprecate --gfe2_reloadable_flag_quic_retire_cid_on_reverse_path_validation_failure PiperOrigin-RevId: 550970265
diff --git a/quiche/quic/core/http/end_to_end_test.cc b/quiche/quic/core/http/end_to_end_test.cc index f160861..35b1db0 100644 --- a/quiche/quic/core/http/end_to_end_test.cc +++ b/quiche/quic/core/http/end_to_end_test.cc
@@ -5701,8 +5701,6 @@ ASSERT_TRUE(Initialize()); return; } - SetQuicReloadableFlag(quic_retire_cid_on_reverse_path_validation_failure, - true); override_client_connection_id_length_ = kQuicDefaultConnectionIdLength; ASSERT_TRUE(Initialize());
diff --git a/quiche/quic/core/quic_connection.cc b/quiche/quic/core/quic_connection.cc index 0ec593b..cbc4f33 100644 --- a/quiche/quic/core/quic_connection.cc +++ b/quiche/quic/core/quic_connection.cc
@@ -6756,21 +6756,6 @@ } } -void QuicConnection::RetirePeerIssuedConnectionIdsOnPathValidationFailure() { - // The alarm to retire connection IDs no longer on paths is scheduled at the - // end of writing and reading packet. On path validation failure, there could - // be no packet to write or read. Hence the retirement alarm for the - // connection ID associated with the failed path needs to be proactively - // scheduled here. - if (GetQuicReloadableFlag( - quic_retire_cid_on_reverse_path_validation_failure) || - perspective_ == Perspective::IS_CLIENT) { - QUIC_RELOADABLE_FLAG_COUNT( - quic_retire_cid_on_reverse_path_validation_failure); - RetirePeerIssuedConnectionIdsNoLongerOnPath(); - } -} - bool QuicConnection::MigratePath(const QuicSocketAddress& self_address, const QuicSocketAddress& peer_address, QuicPacketWriter* writer, bool owns_writer) { @@ -6842,7 +6827,7 @@ mutable_stats().failed_to_validate_server_preferred_address = true; } - RetirePeerIssuedConnectionIdsOnPathValidationFailure(); + RetirePeerIssuedConnectionIdsNoLongerOnPath(); } QuicConnectionId QuicConnection::GetOneActiveServerConnectionId() const { @@ -7195,7 +7180,7 @@ QUIC_CODE_COUNT_N(quic_kick_off_client_address_validation, 6, 6); connection_->alternative_path_.Clear(); } - connection_->RetirePeerIssuedConnectionIdsOnPathValidationFailure(); + connection_->RetirePeerIssuedConnectionIdsNoLongerOnPath(); } QuicConnection::ScopedRetransmissionTimeoutIndicator::
diff --git a/quiche/quic/core/quic_connection.h b/quiche/quic/core/quic_connection.h index cce16d0..0594e76 100644 --- a/quiche/quic/core/quic_connection.h +++ b/quiche/quic/core/quic_connection.h
@@ -1704,10 +1704,6 @@ // any path. void RetirePeerIssuedConnectionIdsNoLongerOnPath(); - // When path validation fails, proactively retire peer issued connection IDs - // no longer used on any path. - void RetirePeerIssuedConnectionIdsOnPathValidationFailure(); - // Writes the given packet to socket, encrypted with packet's // encryption_level. Returns true on successful write, and false if the writer // was blocked and the write needs to be tried again. Notifies the
diff --git a/quiche/quic/core/quic_flags_list.h b/quiche/quic/core/quic_flags_list.h index c74321e..f8c0828 100644 --- a/quiche/quic/core/quic_flags_list.h +++ b/quiche/quic/core/quic_flags_list.h
@@ -75,8 +75,6 @@ QUIC_FLAG(quic_reloadable_flag_quic_priority_respect_incremental, false) // If true, round-robin stream writes instead of batching in QuicWriteBlockedList. QUIC_FLAG(quic_reloadable_flag_quic_disable_batch_write, false) -// If true, server proactively retires client issued connection ID on reverse path validation failure. -QUIC_FLAG(quic_reloadable_flag_quic_retire_cid_on_reverse_path_validation_failure, true) // If true, server sends bandwidth eastimate when network is idle for a while. QUIC_FLAG(quic_restart_flag_quic_enable_sending_bandwidth_estimate_when_network_idle_v2, true) // If true, set burst token to 2 in cwnd bootstrapping experiment.