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

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

Issue 839143002: Roll Chrome into Mojo. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rebase Created 5 years, 11 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_client.cc ('k') | net/tools/quic/quic_client_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_client_bin.cc
diff --git a/net/tools/quic/quic_client_bin.cc b/net/tools/quic/quic_client_bin.cc
index 0f5c746e5dc4be493a3017131bc5eb45de795405..6fcde96fa6be57c79221bf914dc413853fab46b0 100644
--- a/net/tools/quic/quic_client_bin.cc
+++ b/net/tools/quic/quic_client_bin.cc
@@ -117,22 +117,12 @@ int main(int argc, char *argv[]) {
<< " with supported versions "
<< QuicVersionVectorToString(versions);
net::EpollServer epoll_server;
- net::QuicConfig config;
-
- // The default flow control window of 16 Kb is too small for practical
- // purposes. Set it to the specified value, which has a large default.
- config.SetInitialFlowControlWindowToSend(
- FLAGS_flow_control_window_bytes);
- config.SetInitialStreamFlowControlWindowToSend(
- FLAGS_flow_control_window_bytes);
- config.SetInitialSessionFlowControlWindowToSend(
- FLAGS_flow_control_window_bytes);
net::tools::QuicClient client(
net::IPEndPoint(addr, FLAGS_port),
net::QuicServerId(FLAGS_hostname, FLAGS_port, FLAGS_secure,
net::PRIVACY_MODE_DISABLED),
- versions, true, config, &epoll_server);
+ versions, true, &epoll_server);
client.Initialize();
« no previous file with comments | « net/tools/quic/quic_client.cc ('k') | net/tools/quic/quic_client_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698