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

Unified Diff: net/quic/quic_connection.cc

Issue 1572033003: relnote: Allowing multipath support negotiation. Protected by --quic_enable_multipath, default valu… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0044_CL_111708360
Patch Set: rebase after removing 111628983 Created 4 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/quic/quic_connection.h ('k') | net/quic/quic_connection_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.cc
diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc
index 85924614c0f389a1c929d532da7a2489623e4651..162cfe4dbf534afcf79cacc4905e6ed9c889ec5b 100644
--- a/net/quic/quic_connection.cc
+++ b/net/quic/quic_connection.cc
@@ -316,7 +316,8 @@ QuicConnection::QuicConnection(QuicConnectionId connection_id,
next_mtu_probe_at_(kPacketsBetweenMtuProbesBase),
largest_received_packet_size_(0),
goaway_sent_(false),
- goaway_received_(false) {
+ goaway_received_(false),
+ multipath_enabled_(false) {
DVLOG(1) << ENDPOINT
<< "Created connection with connection_id: " << connection_id;
framer_.set_visitor(this);
@@ -359,6 +360,10 @@ void QuicConnection::SetFromConfig(const QuicConfig& config) {
if (config.SilentClose()) {
silent_close_enabled_ = true;
}
+ if (FLAGS_quic_enable_multipath &&
+ config.MultipathEnabled()) {
+ multipath_enabled_ = true;
+ }
} else {
SetNetworkTimeouts(config.max_time_before_crypto_handshake(),
config.max_idle_time_before_crypto_handshake());
« no previous file with comments | « net/quic/quic_connection.h ('k') | net/quic/quic_connection_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698