gfe-relnote: Remove QUIC v39.
Deprecate gfe2_reloadable_flag_quic_disable_version_39.
PiperOrigin-RevId: 275075043
Change-Id: Id780364297db4d40c2e1c8b9e16439754b56ea12
diff --git a/quic/core/http/quic_headers_stream_test.cc b/quic/core/http/quic_headers_stream_test.cc
index 0791506..f61d9ad 100644
--- a/quic/core/http/quic_headers_stream_test.cc
+++ b/quic/core/http/quic_headers_stream_test.cc
@@ -521,13 +521,7 @@
SpdyPriorityIR priority_frame(stream_id, parent_stream_id, weight, true);
SpdySerializedFrame frame(framer_->SerializeFrame(priority_frame));
parent_stream_id = stream_id;
- if (transport_version() <= QUIC_VERSION_39) {
- EXPECT_CALL(*connection_,
- CloseConnection(QUIC_INVALID_HEADERS_STREAM_DATA,
- "SPDY PRIORITY frame received.", _))
- .WillRepeatedly(InvokeWithoutArgs(
- this, &QuicHeadersStreamTest::TearDownLocalConnectionState));
- } else if (perspective() == Perspective::IS_CLIENT) {
+ if (perspective() == Perspective::IS_CLIENT) {
EXPECT_CALL(*connection_,
CloseConnection(QUIC_INVALID_HEADERS_STREAM_DATA,
"Server must not send PRIORITY frames.", _))
diff --git a/quic/core/http/quic_spdy_session.cc b/quic/core/http/quic_spdy_session.cc
index c876e3d..8c724e5 100644
--- a/quic/core/http/quic_spdy_session.cc
+++ b/quic/core/http/quic_spdy_session.cc
@@ -245,11 +245,6 @@
int weight,
bool exclusive) override {
DCHECK(!VersionUsesHttp3(session_->transport_version()));
- if (session_->transport_version() <= QUIC_VERSION_39) {
- CloseConnection("SPDY PRIORITY frame received.",
- QUIC_INVALID_HEADERS_STREAM_DATA);
- return;
- }
if (!session_->IsConnected()) {
return;
}
@@ -520,9 +515,6 @@
int weight,
bool exclusive) {
DCHECK(!VersionUsesHttp3(transport_version()));
- if (transport_version() <= QUIC_VERSION_39) {
- return 0;
- }
SpdyPriorityIR priority_frame(id, parent_stream_id, weight, exclusive);
SpdySerializedFrame frame(spdy_framer_.SerializeFrame(priority_frame));
headers_stream()->WriteOrBufferData(
diff --git a/quic/core/http/quic_spdy_session_test.cc b/quic/core/http/quic_spdy_session_test.cc
index 85e79a7..600e342 100644
--- a/quic/core/http/quic_spdy_session_test.cc
+++ b/quic/core/http/quic_spdy_session_test.cc
@@ -1838,21 +1838,17 @@
QuicStreamSendBuffer& send_buffer =
QuicStreamPeer::SendBuffer(headers_stream);
- if (transport_version() > QUIC_VERSION_39) {
- ASSERT_EQ(1u, send_buffer.size());
+ ASSERT_EQ(1u, send_buffer.size());
- SpdyPriorityIR priority_frame(
- id, parent_stream_id, Spdy3PriorityToHttp2Weight(priority), exclusive);
- SpdyFramer spdy_framer(SpdyFramer::ENABLE_COMPRESSION);
- SpdySerializedFrame frame = spdy_framer.SerializeFrame(priority_frame);
+ SpdyPriorityIR priority_frame(
+ id, parent_stream_id, Spdy3PriorityToHttp2Weight(priority), exclusive);
+ SpdyFramer spdy_framer(SpdyFramer::ENABLE_COMPRESSION);
+ SpdySerializedFrame frame = spdy_framer.SerializeFrame(priority_frame);
- const QuicMemSlice& slice =
- QuicStreamSendBufferPeer::CurrentWriteSlice(&send_buffer)->slice;
- EXPECT_EQ(QuicStringPiece(frame.data(), frame.size()),
- QuicStringPiece(slice.data(), slice.length()));
- } else {
- EXPECT_EQ(0u, send_buffer.size());
- }
+ const QuicMemSlice& slice =
+ QuicStreamSendBufferPeer::CurrentWriteSlice(&send_buffer)->slice;
+ EXPECT_EQ(QuicStringPiece(frame.data(), frame.size()),
+ QuicStringPiece(slice.data(), slice.length()));
}
TEST_P(QuicSpdySessionTestClient, Http3ServerPush) {