Deprecate --gfe2_reloadable_flag_quic_flush_pending_frame_before_updating_default_path
PiperOrigin-RevId: 397806609
diff --git a/quic/core/quic_connection.cc b/quic/core/quic_connection.cc
index 8ab5bf9..64636bf 100644
--- a/quic/core/quic_connection.cc
+++ b/quic/core/quic_connection.cc
@@ -5284,11 +5284,7 @@
}
// There could be pending NEW_TOKEN_FRAME triggered by non-probing
// PATH_RESPONSE_FRAME in the same packet.
- if (GetQuicReloadableFlag(
- quic_flush_pending_frame_before_updating_default_path) &&
- packet_creator_.HasPendingFrames()) {
- QUICHE_RELOADABLE_FLAG_COUNT(
- quic_flush_pending_frame_before_updating_default_path);
+ if (packet_creator_.HasPendingFrames()) {
packet_creator_.FlushCurrentPacket();
if (!connected_) {
return;
diff --git a/quic/core/quic_connection_test.cc b/quic/core/quic_connection_test.cc
index 85c0abd..cc94971 100644
--- a/quic/core/quic_connection_test.cc
+++ b/quic/core/quic_connection_test.cc
@@ -2068,9 +2068,7 @@
TEST_P(QuicConnectionTest,
ReversePathValidationResponseReceivedFromUnexpectedPeerAddress) {
set_perspective(Perspective::IS_SERVER);
- if (!GetQuicReloadableFlag(
- quic_flush_pending_frame_before_updating_default_path) ||
- !connection_.connection_migration_use_new_cid()) {
+ if (!connection_.connection_migration_use_new_cid()) {
return;
}
QuicPacketCreatorPeer::SetSendVersionInPacket(creator_, false);
diff --git a/quic/core/quic_flags_list.h b/quic/core/quic_flags_list.h
index 340f9f3..5945ed6 100644
--- a/quic/core/quic_flags_list.h
+++ b/quic/core/quic_flags_list.h
@@ -69,8 +69,6 @@
QUIC_FLAG(FLAGS_quic_reloadable_flag_quic_drop_unsent_path_response, true)
// If true, enable server retransmittable on wire PING.
QUIC_FLAG(FLAGS_quic_reloadable_flag_quic_enable_server_on_wire_ping, true)
-// If true, flush any pending frame before default path is about to be updated.
-QUIC_FLAG(FLAGS_quic_reloadable_flag_quic_flush_pending_frame_before_updating_default_path, true)
// If true, ignore peer_max_ack_delay during handshake.
QUIC_FLAG(FLAGS_quic_reloadable_flag_quic_ignore_peer_max_ack_delay_during_handshake, true)
// If true, include stream information in idle timeout connection close detail.