Deprecate --gfe2_reloadable_flag_quic_do_not_increase_max_streams_after_h3_goaway.
PiperOrigin-RevId: 580252062
diff --git a/quiche/quic/core/http/quic_spdy_session.cc b/quiche/quic/core/http/quic_spdy_session.cc
index 3c2db99..0580fca 100644
--- a/quiche/quic/core/http/quic_spdy_session.cc
+++ b/quiche/quic/core/http/quic_spdy_session.cc
@@ -482,9 +482,7 @@
VersionUsesHttp3(transport_version())),
force_buffer_requests_until_settings_(false),
quic_enable_h3_datagrams_flag_(
- GetQuicReloadableFlag(quic_enable_h3_datagrams)),
- do_not_increase_max_streams_after_h3_goaway_flag_(GetQuicReloadableFlag(
- quic_do_not_increase_max_streams_after_h3_goaway)) {
+ GetQuicReloadableFlag(quic_enable_h3_datagrams)) {
h2_deframer_.set_visitor(spdy_framer_visitor_.get());
h2_deframer_.set_debug_visitor(spdy_framer_visitor_.get());
spdy_framer_.set_debug_visitor(spdy_framer_visitor_.get());
@@ -823,11 +821,8 @@
ConnectionCloseBehavior::SEND_CONNECTION_CLOSE_PACKET);
return;
}
- if (do_not_increase_max_streams_after_h3_goaway_flag_) {
- QUICHE_RELOADABLE_FLAG_COUNT(
- quic_do_not_increase_max_streams_after_h3_goaway);
- ietf_streamid_manager().StopIncreasingIncomingMaxStreams();
- }
+ ietf_streamid_manager().StopIncreasingIncomingMaxStreams();
+
QuicStreamId stream_id =
QuicUtils::GetMaxClientInitiatedBidirectionalStreamId(
transport_version());
diff --git a/quiche/quic/core/http/quic_spdy_session.h b/quiche/quic/core/http/quic_spdy_session.h
index 5672c90..c295569 100644
--- a/quiche/quic/core/http/quic_spdy_session.h
+++ b/quiche/quic/core/http/quic_spdy_session.h
@@ -709,10 +709,6 @@
// Latched value of quic_enable_h3_datagrams reloadable flag.
bool quic_enable_h3_datagrams_flag_;
-
- // Latched value of quic_do_not_increase_max_streams_after_h3_goaway
- // reloadable flag.
- bool do_not_increase_max_streams_after_h3_goaway_flag_;
};
} // namespace quic
diff --git a/quiche/quic/core/http/quic_spdy_session_test.cc b/quiche/quic/core/http/quic_spdy_session_test.cc
index c93e56e..ef7b072 100644
--- a/quiche/quic/core/http/quic_spdy_session_test.cc
+++ b/quiche/quic/core/http/quic_spdy_session_test.cc
@@ -1153,9 +1153,7 @@
}
TEST_P(QuicSpdySessionTestServer, SendHttp3GoAwayAndNoMoreMaxStreams) {
- if (!VersionUsesHttp3(transport_version()) ||
- !GetQuicReloadableFlag(
- quic_do_not_increase_max_streams_after_h3_goaway)) {
+ if (!VersionUsesHttp3(transport_version())) {
return;
}
diff --git a/quiche/quic/core/quic_flags_list.h b/quiche/quic/core/quic_flags_list.h
index 83bc10d..6e33e2e 100644
--- a/quiche/quic/core/quic_flags_list.h
+++ b/quiche/quic/core/quic_flags_list.h
@@ -87,8 +87,6 @@
QUIC_FLAG(quic_reloadable_flag_quic_disable_batch_write, false)
// If true, set burst token to 2 in cwnd bootstrapping experiment.
QUIC_FLAG(quic_reloadable_flag_quic_conservative_bursts, false)
-// If true, then the HTTP/3 max streams limit will not be increased after sending a GOAWAY
-QUIC_FLAG(quic_reloadable_flag_quic_do_not_increase_max_streams_after_h3_goaway, true)
// If true, use BBRv2 as the default congestion controller. Takes precedence over --quic_default_to_bbr.
QUIC_FLAG(quic_reloadable_flag_quic_default_to_bbr_v2, false)
// If true, use a LRU cache to record client addresses of packets received on server\'s original address.