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

Unified Diff: net/quic/core/quic_connection.cc

Issue 2221093002: Deprecate quic_do_not_migrate_on_old_packet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@128997036
Patch Set: Created 4 years, 4 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 | « no previous file | net/quic/core/quic_connection_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_connection.cc
diff --git a/net/quic/core/quic_connection.cc b/net/quic/core/quic_connection.cc
index 7d23d90991239e0c3a727d27da61cd93edf682a5..add7d673302b4dc795154abb96051a2ab4293be0 100644
--- a/net/quic/core/quic_connection.cc
+++ b/net/quic/core/quic_connection.cc
@@ -690,8 +690,7 @@ bool QuicConnection::OnPacketHeader(const QuicPacketHeader& header) {
// packet.
if (active_peer_migration_type_ == NO_CHANGE &&
peer_migration_type != NO_CHANGE &&
- (!FLAGS_quic_do_not_migrate_on_old_packet ||
- header.packet_number > received_packet_manager_.GetLargestObserved())) {
+ header.packet_number > received_packet_manager_.GetLargestObserved()) {
StartPeerMigration(header.path_id, peer_migration_type);
}
« no previous file with comments | « no previous file | net/quic/core/quic_connection_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698