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

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

Issue 1125313003: Disable the strike register startup period in both toy servers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: No Change Created 5 years, 7 months 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 | « net/tools/quic/quic_server_bin.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_simple_server_bin.cc
diff --git a/net/tools/quic/quic_simple_server_bin.cc b/net/tools/quic/quic_simple_server_bin.cc
index 10440e27ad5b9d29f836d3e71c35597df73001f7..a461f28c1b841c1844a88720faebec1180b00619 100644
--- a/net/tools/quic/quic_simple_server_bin.cc
+++ b/net/tools/quic/quic_simple_server_bin.cc
@@ -62,6 +62,7 @@ int main(int argc, char *argv[]) {
net::QuicConfig config;
net::tools::QuicSimpleServer server(config, net::QuicSupportedVersions());
+ server.SetStrikeRegisterNoStartupPeriod();
int rc = server.Listen(net::IPEndPoint(ip, FLAGS_port));
if (rc < 0) {
« no previous file with comments | « net/tools/quic/quic_server_bin.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698