Index: net/tools/quic/end_to_end_test.cc |
diff --git a/net/tools/quic/end_to_end_test.cc b/net/tools/quic/end_to_end_test.cc |
index 5fc6ca93be037753934aea8357ce19003f5917ff..5313d07f40388ab516487abc9770ebc698a4c331 100644 |
--- a/net/tools/quic/end_to_end_test.cc |
+++ b/net/tools/quic/end_to_end_test.cc |
@@ -393,15 +393,8 @@ class EndToEndTest : public ::testing::TestWithParam<TestParams> { |
packet_writer_factory); |
QuicDispatcherPeer::UseWriter(dispatcher, server_writer_); |
- if (GetParam().server_uses_stateless_rejects_if_peer_supported) { |
- // Enable stateless rejects and force the server to always send |
- // them. |
- FLAGS_enable_quic_stateless_reject_support = true; |
- FLAGS_quic_session_map_threshold_for_stateless_rejects = 0; |
- } else { |
- FLAGS_enable_quic_stateless_reject_support = false; |
- FLAGS_quic_session_map_threshold_for_stateless_rejects = -1; |
- } |
+ FLAGS_enable_quic_stateless_reject_support = |
+ GetParam().server_uses_stateless_rejects_if_peer_supported; |
server_writer_->Initialize( |
QuicDispatcherPeer::GetHelper(dispatcher), |