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

Unified Diff: net/quic/quic_connection.cc

Issue 1334583002: relnote: Deprecate FLAGS_quic_allow_ip_migration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Cache_align_encryption_101462412
Patch Set: Created 5 years, 3 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/quic_flags.h » ('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 682a0a556d35b1a296def180be80da4b9156fb51..1bfc6ff5211c823369c8120d1d0449a75196f889 100644
--- a/net/quic/quic_connection.cc
+++ b/net/quic/quic_connection.cc
@@ -1457,11 +1457,9 @@ void QuicConnection::WriteIfNotBlocked() {
}
bool QuicConnection::ProcessValidatedPacket() {
- if ((peer_ip_changed_ && !FLAGS_quic_allow_ip_migration) ||
- self_ip_changed_ || self_port_changed_) {
- SendConnectionCloseWithDetails(
- QUIC_ERROR_MIGRATING_ADDRESS,
- "Neither IP address migration, nor self port migration are supported.");
+ if (self_ip_changed_ || self_port_changed_) {
+ SendConnectionCloseWithDetails(QUIC_ERROR_MIGRATING_ADDRESS,
+ "Self address migration is not supported.");
return false;
}
« no previous file with comments | « no previous file | net/quic/quic_flags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698