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

Unified Diff: net/quic/quic_protocol.h

Issue 1833093002: Disable connection migration if disabled in config sent by server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@home
Patch Set: Fixes minor oversight in ErrorToString. Created 4 years, 9 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 | « components/domain_reliability/quic_error_mapping.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_protocol.h
diff --git a/net/quic/quic_protocol.h b/net/quic/quic_protocol.h
index 73ebf3adad3a8fe8133b73e52aab975bd9f5f44c..a7d2577cc21cb464ce17c35d924027ff6cb50c4d 100644
--- a/net/quic/quic_protocol.h
+++ b/net/quic/quic_protocol.h
@@ -666,9 +666,12 @@ enum QuicErrorCode {
QUIC_CONNECTION_MIGRATION_NO_NEW_NETWORK = 83,
// Network changed, but connection had one or more non-migratable streams.
QUIC_CONNECTION_MIGRATION_NON_MIGRATABLE_STREAM = 84,
+ // Connection migration was not attempted because it was disabled in the
+ // received config.
+ QUIC_CONNECTION_MIGRATION_DISABLED = 88,
Ryan Hamilton 2016/03/26 15:44:47 I wonder if it wouldn't be simpler to use QUIC_IP_
Jana 2016/03/28 17:03:20 Makes sense. Done.
// No error. Used as bound while iterating.
- QUIC_LAST_ERROR = 88,
+ QUIC_LAST_ERROR = 89,
};
// Must be updated any time a QuicErrorCode is deprecated.
« no previous file with comments | « components/domain_reliability/quic_error_mapping.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698