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

Side by Side Diff: net/base/net_error_list.h

Issue 2771263002: Retry upon 421 status code without IP pooling. (Closed)
Patch Set: Rebase. 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 unified diff | Download patch
« no previous file with comments | « no previous file | net/http/bidirectional_stream.cc » ('j') | net/http/http_network_transaction.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file intentionally does not have header guards, it's included 5 // This file intentionally does not have header guards, it's included
6 // inside a macro to generate enum values. 6 // inside a macro to generate enum values.
7 7
8 // This file contains the list of network errors. 8 // This file contains the list of network errors.
9 9
10 // 10 //
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 NET_ERROR(INVALID_HTTP_RESPONSE, -370) 695 NET_ERROR(INVALID_HTTP_RESPONSE, -370)
696 696
697 // Initializing content decoding failed. 697 // Initializing content decoding failed.
698 NET_ERROR(CONTENT_DECODING_INIT_FAILED, -371) 698 NET_ERROR(CONTENT_DECODING_INIT_FAILED, -371)
699 699
700 // Received HTTP/2 RST_STREAM frame with NO_ERROR error code. This error should 700 // Received HTTP/2 RST_STREAM frame with NO_ERROR error code. This error should
701 // be handled internally by HTTP/2 code, and should not make it above the 701 // be handled internally by HTTP/2 code, and should not make it above the
702 // SpdyStream layer. 702 // SpdyStream layer.
703 NET_ERROR(SPDY_RST_STREAM_NO_ERROR_RECEIVED, -372) 703 NET_ERROR(SPDY_RST_STREAM_NO_ERROR_RECEIVED, -372)
704 704
705 // Received HTTP status code 421 Misdirected Request (RFC7540 Section 9.1.2).
706 // The client MAY retry the request over a different connection.
707 NET_ERROR(MISDIRECTED_REQUEST, -373)
708
705 // The cache does not have the requested entry. 709 // The cache does not have the requested entry.
706 NET_ERROR(CACHE_MISS, -400) 710 NET_ERROR(CACHE_MISS, -400)
707 711
708 // Unable to read from the disk cache. 712 // Unable to read from the disk cache.
709 NET_ERROR(CACHE_READ_FAILURE, -401) 713 NET_ERROR(CACHE_READ_FAILURE, -401)
710 714
711 // Unable to write to the disk cache. 715 // Unable to write to the disk cache.
712 NET_ERROR(CACHE_WRITE_FAILURE, -402) 716 NET_ERROR(CACHE_WRITE_FAILURE, -402)
713 717
714 // The operation is not supported for this entry. 718 // The operation is not supported for this entry.
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
855 NET_ERROR(DNS_TIMED_OUT, -803) 859 NET_ERROR(DNS_TIMED_OUT, -803)
856 860
857 // The entry was not found in cache, for cache-only lookups. 861 // The entry was not found in cache, for cache-only lookups.
858 NET_ERROR(DNS_CACHE_MISS, -804) 862 NET_ERROR(DNS_CACHE_MISS, -804)
859 863
860 // Suffix search list rules prevent resolution of the given host name. 864 // Suffix search list rules prevent resolution of the given host name.
861 NET_ERROR(DNS_SEARCH_EMPTY, -805) 865 NET_ERROR(DNS_SEARCH_EMPTY, -805)
862 866
863 // Failed to sort addresses according to RFC3484. 867 // Failed to sort addresses according to RFC3484.
864 NET_ERROR(DNS_SORT_ERROR, -806) 868 NET_ERROR(DNS_SORT_ERROR, -806)
OLDNEW
« 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