| Index: net/quic/core/quic_connection.cc
|
| diff --git a/net/quic/core/quic_connection.cc b/net/quic/core/quic_connection.cc
|
| index 04b0d20ff2f54283097311de22af923a67d88fec..97e689db789b1217475b57031258f32570ed09dc 100644
|
| --- a/net/quic/core/quic_connection.cc
|
| +++ b/net/quic/core/quic_connection.cc
|
| @@ -259,7 +259,6 @@ QuicConnection::QuicConnection(QuicConnectionId connection_id,
|
| largest_received_packet_size_(0),
|
| goaway_sent_(false),
|
| goaway_received_(false),
|
| - multipath_enabled_(false),
|
| write_error_occured_(false),
|
| no_stop_waiting_frames_(false) {
|
| QUIC_DLOG(INFO) << ENDPOINT
|
| @@ -307,10 +306,6 @@ void QuicConnection::SetFromConfig(const QuicConfig& config) {
|
| idle_timeout_connection_close_behavior_ =
|
| ConnectionCloseBehavior::SILENT_CLOSE;
|
| }
|
| - if (FLAGS_quic_reloadable_flag_quic_enable_multipath &&
|
| - config.MultipathEnabled()) {
|
| - multipath_enabled_ = true;
|
| - }
|
| } else {
|
| SetNetworkTimeouts(config.max_time_before_crypto_handshake(),
|
| config.max_idle_time_before_crypto_handshake());
|
| @@ -909,16 +904,6 @@ bool QuicConnection::OnBlockedFrame(const QuicBlockedFrame& frame) {
|
| return connected_;
|
| }
|
|
|
| -bool QuicConnection::OnPathCloseFrame(const QuicPathCloseFrame& frame) {
|
| - DCHECK(connected_);
|
| - if (debug_visitor_ != nullptr) {
|
| - debug_visitor_->OnPathCloseFrame(frame);
|
| - }
|
| - QUIC_DLOG(INFO) << ENDPOINT
|
| - << "PATH_CLOSE_FRAME received for path: " << frame.path_id;
|
| - return connected_;
|
| -}
|
| -
|
| void QuicConnection::OnPacketComplete() {
|
| // Don't do anything if this packet closed the connection.
|
| if (!connected_) {
|
| @@ -1314,7 +1299,7 @@ bool QuicConnection::ProcessValidatedPacket(const QuicPacketHeader& header) {
|
|
|
| // Multipath is not enabled, but a packet with multipath flag on is
|
| // received.
|
| - if (!multipath_enabled_ && header.public_header.multipath_flag) {
|
| + if (header.public_header.multipath_flag) {
|
| const string error_details =
|
| "Received a packet with multipath flag but multipath is not enabled.";
|
| QUIC_BUG << error_details;
|
|
|