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

Unified Diff: net/base/net_error_list.h

Issue 2800853008: Add a dedicated error code for TLS 1.3 interference. (Closed)
Patch Set: mpearson comment Created 3 years, 8 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/error_page/common/localized_error.cc ('k') | net/log/net_log_event_type_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_error_list.h
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h
index 4499ef2f324b249328103b06be186566b7ee1eed..b9d713c835a8d75db5c459f9de78cd132973dee6 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -390,6 +390,20 @@ NET_ERROR(WS_UPGRADE, -173)
// visible, because the normal Read() method is used as a fallback.
NET_ERROR(READ_IF_READY_NOT_IMPLEMENTED, -174)
+// This error is emitted if TLS 1.3 is enabled, connecting with it failed, but
+// retrying at a downgraded maximum version succeeded. This could mean:
+//
+// 1. This is a transient network error that will be resolved when the user
+// reloads.
+//
+// 2. The user is behind a buggy network middlebox, firewall, or proxy which is
+// interfering with TLS 1.3.
+//
+// 3. The server is buggy and does not implement TLS version negotiation
+// correctly. TLS 1.3 was tweaked to avoid a common server bug here, so this
+// is unlikely.
+NET_ERROR(SSL_VERSION_INTERFERENCE, -175)
+
// Certificate error codes
//
// The values of certificate error codes must be consecutive.
« no previous file with comments | « components/error_page/common/localized_error.cc ('k') | net/log/net_log_event_type_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698