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

Unified Diff: net/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/quic/quic_connection_test.cc ('k') | net/quic/quic_http_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_dispatcher.cc
diff --git a/net/quic/quic_dispatcher.cc b/net/quic/quic_dispatcher.cc
index ae964edc8df878d2a30a53adae57d71d5946959f..5c6836aa3db4f2eafe81dab41f5dfadad2ce51eb 100644
--- a/net/quic/quic_dispatcher.cc
+++ b/net/quic/quic_dispatcher.cc
@@ -377,13 +377,23 @@ QuicConnection* QuicDispatcher::CreateQuicConnection(
QuicConnection* connection;
if (FLAGS_enable_quic_connection_flow_control_2) {
DVLOG(1) << "Creating QuicDispatcher with all versions.";
- connection = new QuicConnection(connection_id, client_address, helper_,
- writer, true, supported_versions_);
+ connection = new QuicConnection(connection_id,
+ client_address,
+ helper_,
+ writer,
+ false /* owns_writer */,
+ true /* is_server */,
+ supported_versions_);
} else {
DVLOG(1) << "Connection flow control disabled, creating QuicDispatcher "
<< "WITHOUT version 19 or higher.";
connection = new QuicConnection(
- connection_id, client_address, helper_, writer, true,
+ connection_id,
+ client_address,
+ helper_,
+ writer,
+ false /* owns_writer */,
+ true /* is_server */,
supported_versions_no_connection_flow_control_);
}
writer->set_connection(connection);
« no previous file with comments | « net/quic/quic_connection_test.cc ('k') | net/quic/quic_http_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698