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

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

Issue 2424903002: Deprecate FLAGS_quic_allow_server_address_change_for_mapped_ipv4. (Closed)
Patch Set: Created 4 years, 2 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 ab062022b85958c3072a8ffb6abd92a92a83712e..9342a66da4a880b676390130f4c18eb7798a0315 100644
--- a/net/quic/core/quic_connection.cc
+++ b/net/quic/core/quic_connection.cc
@@ -1421,12 +1421,6 @@ bool QuicConnection::ProcessValidatedPacket(const QuicPacketHeader& header) {
IsInitializedIPEndPoint(self_address_) &&
IsInitializedIPEndPoint(last_packet_destination_address_) &&
(!(self_address_ == last_packet_destination_address_))) {
- if (!FLAGS_quic_allow_server_address_change_for_mapped_ipv4) {
- CloseConnection(QUIC_ERROR_MIGRATING_ADDRESS,
- "Self address migration is not supported at the server.",
- ConnectionCloseBehavior::SEND_CONNECTION_CLOSE_PACKET);
- return false;
- }
// Allow change between pure IPv4 and equivalent mapped IPv4 address.
IPAddress self_ip = self_address_.address();
if (self_ip.IsIPv4MappedIPv6()) {
« 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