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

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

Issue 411823002: Land Recent QUIC Changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase TOT Created 6 years, 5 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/test_tools/quic_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_dispatcher.cc
diff --git a/net/tools/quic/quic_dispatcher.cc b/net/tools/quic/quic_dispatcher.cc
index d53e58e602fdf2b6f62494bb781059759b9bd17a..9980674fb24a0416bbf08b073c31befa22cf63d4 100644
--- a/net/tools/quic/quic_dispatcher.cc
+++ b/net/tools/quic/quic_dispatcher.cc
@@ -378,14 +378,23 @@ QuicConnection* QuicDispatcher::CreateQuicConnection(
const IPEndPoint& client_address) {
if (FLAGS_enable_quic_connection_flow_control_2) {
DLOG(INFO) << "Creating QuicDispatcher with all versions.";
- return new QuicConnection(connection_id, client_address, helper_.get(),
- writer_.get(), true, supported_versions_);
+ return new QuicConnection(connection_id,
+ client_address,
+ helper_.get(),
+ writer_.get(),
+ false /* owns_writer */,
+ true /* is_server */,
+ supported_versions_);
}
DLOG(INFO) << "Connection flow control disabled, creating QuicDispatcher "
<< "WITHOUT version 19 or higher.";
- return new QuicConnection(connection_id, client_address, helper_.get(),
- writer_.get(), true,
+ return new QuicConnection(connection_id,
+ client_address,
+ helper_.get(),
+ writer_.get(),
+ false /* owns_writer */,
+ true /* is_server */,
supported_versions_no_connection_flow_control_);
}
« no previous file with comments | « net/tools/quic/quic_client.cc ('k') | net/tools/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698