OLD | NEW |
---|---|
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 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
635 // either a failure to retrieve the DHCP configuration, or that there was no | 635 // either a failure to retrieve the DHCP configuration, or that there was no |
636 // PAC URL configured in DHCP. | 636 // PAC URL configured in DHCP. |
637 NET_ERROR(PAC_NOT_IN_DHCP, -348) | 637 NET_ERROR(PAC_NOT_IN_DHCP, -348) |
638 | 638 |
639 // The HTTP response contained multiple Content-Disposition headers. | 639 // The HTTP response contained multiple Content-Disposition headers. |
640 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION, -349) | 640 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION, -349) |
641 | 641 |
642 // The HTTP response contained multiple Location headers. | 642 // The HTTP response contained multiple Location headers. |
643 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_LOCATION, -350) | 643 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_LOCATION, -350) |
644 | 644 |
645 // SPDY server refused the stream. Client should retry. This should never be a | 645 // HTTP/2 server refused the request without processing, and sent either a |
646 // user-visible error. | 646 // GOAWAY frame with error code NO_ERROR and Last-Stream-ID lower than the |
647 // stream id corresponding to the request indicating that this request has not | |
648 // been processed yet, or a RST_STREAM frame with error code REFUSED_STREAM. | |
649 // Client MAY retry (on a different connection). See RFC7540 Section 8.1.4. | |
Zhongyi Shi
2017/04/19 00:40:27
optional nit: there're two spaces before "See RFC7
Bence
2017/04/19 12:12:15
I usually write two spaces between sentences by de
Zhongyi Shi
2017/04/19 17:19:18
Acknowledged.
| |
647 NET_ERROR(SPDY_SERVER_REFUSED_STREAM, -351) | 650 NET_ERROR(SPDY_SERVER_REFUSED_STREAM, -351) |
648 | 651 |
649 // SPDY server didn't respond to the PING message. | 652 // SPDY server didn't respond to the PING message. |
650 NET_ERROR(SPDY_PING_FAILED, -352) | 653 NET_ERROR(SPDY_PING_FAILED, -352) |
651 | 654 |
652 // Obsolete. Kept here to avoid reuse, as the old error can still appear on | 655 // Obsolete. Kept here to avoid reuse, as the old error can still appear on |
653 // histograms. | 656 // histograms. |
654 // NET_ERROR(PIPELINE_EVICTION, -353) | 657 // NET_ERROR(PIPELINE_EVICTION, -353) |
655 | 658 |
656 // The HTTP response body transferred fewer bytes than were advertised by the | 659 // The HTTP response body transferred fewer bytes than were advertised by the |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
873 NET_ERROR(DNS_TIMED_OUT, -803) | 876 NET_ERROR(DNS_TIMED_OUT, -803) |
874 | 877 |
875 // The entry was not found in cache, for cache-only lookups. | 878 // The entry was not found in cache, for cache-only lookups. |
876 NET_ERROR(DNS_CACHE_MISS, -804) | 879 NET_ERROR(DNS_CACHE_MISS, -804) |
877 | 880 |
878 // Suffix search list rules prevent resolution of the given host name. | 881 // Suffix search list rules prevent resolution of the given host name. |
879 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 882 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
880 | 883 |
881 // Failed to sort addresses according to RFC3484. | 884 // Failed to sort addresses according to RFC3484. |
882 NET_ERROR(DNS_SORT_ERROR, -806) | 885 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |