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

Unified Diff: net/base/net_error_list.h

Issue 2771263002: Retry upon 421 status code without IP pooling. (Closed)
Patch Set: Rebase. Created 3 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 | « no previous file | net/http/bidirectional_stream.cc » ('j') | net/http/http_network_transaction.cc » ('J')
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 e7a9052586d1da07689f53f7f1a067916f21a720..4499ef2f324b249328103b06be186566b7ee1eed 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -702,6 +702,10 @@ NET_ERROR(CONTENT_DECODING_INIT_FAILED, -371)
// SpdyStream layer.
NET_ERROR(SPDY_RST_STREAM_NO_ERROR_RECEIVED, -372)
+// Received HTTP status code 421 Misdirected Request (RFC7540 Section 9.1.2).
+// The client MAY retry the request over a different connection.
+NET_ERROR(MISDIRECTED_REQUEST, -373)
+
// The cache does not have the requested entry.
NET_ERROR(CACHE_MISS, -400)
« no previous file with comments | « no previous file | net/http/bidirectional_stream.cc » ('j') | net/http/http_network_transaction.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698