Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(649)

Unified Diff: net/tools/quic/end_to_end_test.cc

Issue 1417033008: Remove FLAGS_quic_session_map_threshold_for_stateless_rejects, and instead always use stateless rej… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@106593539
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/tools/quic/quic_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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),
« no previous file with comments | « no previous file | net/tools/quic/quic_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698