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()); |