Deprecate --gfe2_reloadable_flag_quic_ignore_msg_too_big_from_buffered_packets.
PiperOrigin-RevId: 314133922
Change-Id: Ib1ff591045305c7f9a3988179fd4da4f5900a1b5
diff --git a/quic/core/quic_connection.cc b/quic/core/quic_connection.cc
index 17b3fee..b35284b 100644
--- a/quic/core/quic_connection.cc
+++ b/quic/core/quic_connection.cc
@@ -2276,12 +2276,7 @@
// TODO(wub): Reduce max packet size to a safe default, or the actual MTU.
mtu_discoverer_.Disable();
mtu_discovery_alarm_->Cancel();
- if (GetQuicReloadableFlag(
- quic_ignore_msg_too_big_from_buffered_packets)) {
- QUIC_RELOADABLE_FLAG_COUNT(
- quic_ignore_msg_too_big_from_buffered_packets);
- buffered_packets_.pop_front();
- }
+ buffered_packets_.pop_front();
continue;
}
if (IsWriteError(result.status)) {
diff --git a/quic/core/quic_connection_test.cc b/quic/core/quic_connection_test.cc
index 582bb54..beb7119 100644
--- a/quic/core/quic_connection_test.cc
+++ b/quic/core/quic_connection_test.cc
@@ -2134,9 +2134,6 @@
// Regression test for b/150161358.
TEST_P(QuicConnectionTest, BufferedMtuPacketTooBig) {
- if (!GetQuicReloadableFlag(quic_ignore_msg_too_big_from_buffered_packets)) {
- return;
- }
EXPECT_CALL(visitor_, OnWriteBlocked()).Times(1);
writer_->SetWriteBlocked();