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

Unified Diff: net/quic/quic_protocol.h

Issue 1327923002: Migrates QUIC sessions to a new network when old network is (about to be) disconnected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@home
Patch Set: Naming fixes. Created 5 years 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
Index: net/quic/quic_protocol.h
diff --git a/net/quic/quic_protocol.h b/net/quic/quic_protocol.h
index 7029687a16f28ba89a394de91db97dcf3aa846da..4bc87c50fbaa656f61d74cde24020f42c4603679 100644
--- a/net/quic/quic_protocol.h
+++ b/net/quic/quic_protocol.h
@@ -634,8 +634,20 @@ enum QuicErrorCode {
// tampered with.
QUIC_VERSION_NEGOTIATION_MISMATCH = 55,
+ // IP address changed causing connection close.
+ QUIC_IP_ADDRESS_CHANGED = 77,
Ryan Hamilton 2015/12/18 21:51:23 Do we expect this to go away in favor of the MIGRA
Jana 2015/12/21 23:10:19 Eventually, on Android devices. But we don't yet h
+
+ // Connection migration errors.
+ // Network changed, but connection had no migratable streams.
+ QUIC_CONNECTION_MIGRATION_NO_MIGRATABLE_STREAMS = 78,
Ryan Hamilton 2015/12/18 21:51:23 How different is this from IP_ADDRESS_CHANGED?
Jana 2015/12/21 23:10:19 This is when migration could have happened, but di
+ // Connection changed networks too many times.
+ QUIC_CONNECTION_MIGRATION_TOO_MANY_CHANGES = 79,
+ // Connection migration was attempted, but there was no new network to
+ // migrate to.
+ QUIC_CONNECTION_MIGRATION_NO_NEW_NETWORK = 80,
+
// No error. Used as bound while iterating.
- QUIC_LAST_ERROR = 77,
+ QUIC_LAST_ERROR = 81,
};
// Must be updated any time a QuicErrorCode is deprecated.

Powered by Google App Engine
This is Rietveld 408576698