Remove reloadable flag quic_http3_goaway_new_behavior.
PiperOrigin-RevId: 331576745
Change-Id: I299622188b454616d244819cd664f89ccb65dee8
diff --git a/quic/core/http/quic_spdy_session_test.cc b/quic/core/http/quic_spdy_session_test.cc
index accb2a0..a3c4a52 100644
--- a/quic/core/http/quic_spdy_session_test.cc
+++ b/quic/core/http/quic_spdy_session_test.cc
@@ -1195,9 +1195,6 @@
if (!VersionUsesHttp3(transport_version())) {
return;
}
- if (!GetQuicReloadableFlag(quic_http3_goaway_new_behavior)) {
- return;
- }
EXPECT_FALSE(session_.goaway_received());
PushId push_id1 = 0;
@@ -2770,17 +2767,9 @@
if (!VersionUsesHttp3(transport_version())) {
return;
}
- if (GetQuicReloadableFlag(quic_http3_goaway_new_behavior)) {
- EXPECT_CALL(*connection_,
- CloseConnection(QUIC_HTTP_GOAWAY_INVALID_STREAM_ID,
- "GOAWAY with invalid stream ID", _));
- } else {
- EXPECT_CALL(
- *connection_,
- CloseConnection(
- QUIC_INVALID_STREAM_ID,
- "GOAWAY's last stream id has to point to a request stream", _));
- }
+ EXPECT_CALL(*connection_,
+ CloseConnection(QUIC_HTTP_GOAWAY_INVALID_STREAM_ID,
+ "GOAWAY with invalid stream ID", _));
QuicStreamId stream_id =
GetNthServerInitiatedUnidirectionalStreamId(transport_version(), 0);
session_.OnHttp3GoAway(stream_id);
@@ -2790,9 +2779,6 @@
if (!VersionUsesHttp3(transport_version())) {
return;
}
- if (!GetQuicReloadableFlag(quic_http3_goaway_new_behavior)) {
- return;
- }
EXPECT_FALSE(session_.goaway_received());
QuicStreamId stream_id1 =