diff options
author | jri <jri@chromium.org> | 2016-01-13 22:57:08 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-14 06:58:34 +0000 |
commit | 7e636640ca1dc9f71ebe8a746d1c9bf53c68a2f3 (patch) | |
tree | 9e266afd890055ea81c23c55122428813a42b1e9 /components/domain_reliability | |
parent | c3497fcd8b4e042c8bd24fe5c6e4b1070a878319 (diff) | |
download | chromium_src-7e636640ca1dc9f71ebe8a746d1c9bf53c68a2f3.zip chromium_src-7e636640ca1dc9f71ebe8a746d1c9bf53c68a2f3.tar.gz chromium_src-7e636640ca1dc9f71ebe8a746d1c9bf53c68a2f3.tar.bz2 |
Adds connection migration capability to QUIC. This CL causes QUIC connections to migrate to a new network when an old network is disconnected or about to be disconnected. These notifications are available for Android >= L, so QUIC connection migration will only work for Android >= L.
BUG=576998
Review URL: https://codereview.chromium.org/1327923002
Cr-Commit-Position: refs/heads/master@{#369356}
Diffstat (limited to 'components/domain_reliability')
-rw-r--r-- | components/domain_reliability/util.cc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/components/domain_reliability/util.cc b/components/domain_reliability/util.cc index f657097..2520a63 100644 --- a/components/domain_reliability/util.cc +++ b/components/domain_reliability/util.cc @@ -255,6 +255,22 @@ const struct QuicErrorMapping { // tampered with. { net::QUIC_VERSION_NEGOTIATION_MISMATCH, "quic.version_negotiation_mismatch" }, + + // Network change and connection migration errors. + + // IP address changed causing connection close. + { net::QUIC_IP_ADDRESS_CHANGED, "quic.ip_address_changed" }, + // Network changed, but connection had no migratable streams. + { net::QUIC_CONNECTION_MIGRATION_NO_MIGRATABLE_STREAMS, + "quic.connection_migration_no_migratable_streams" }, + // Connection changed networks too many times. + { net::QUIC_CONNECTION_MIGRATION_TOO_MANY_CHANGES, + "quic.connection_migration_too_many_changes" }, + // Connection migration was attempted, but there was no new network to + // migrate to. + { net::QUIC_CONNECTION_MIGRATION_NO_NEW_NETWORK, + "quic.connection_migration_no_new_network" }, + // No error. Used as bound while iterating. { net::QUIC_LAST_ERROR, "quic.last_error"} }; |