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 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 | 629 |
630 // HTTP_1_1_REQUIRED error code received on HTTP/2 session. | 630 // HTTP_1_1_REQUIRED error code received on HTTP/2 session. |
631 NET_ERROR(HTTP_1_1_REQUIRED, -365) | 631 NET_ERROR(HTTP_1_1_REQUIRED, -365) |
632 | 632 |
633 // HTTP_1_1_REQUIRED error code received on HTTP/2 session to proxy. | 633 // HTTP_1_1_REQUIRED error code received on HTTP/2 session to proxy. |
634 NET_ERROR(PROXY_HTTP_1_1_REQUIRED, -366) | 634 NET_ERROR(PROXY_HTTP_1_1_REQUIRED, -366) |
635 | 635 |
636 // The PAC script terminated fatally and must be reloaded. | 636 // The PAC script terminated fatally and must be reloaded. |
637 NET_ERROR(PAC_SCRIPT_TERMINATED, -367) | 637 NET_ERROR(PAC_SCRIPT_TERMINATED, -367) |
638 | 638 |
| 639 // The certificate offered by the alternative server is not valid for the |
| 640 // origin, a violation of HTTP Alternative Services specification Section 2.1, |
| 641 // https://tools.ietf.org/id/draft-ietf-httpbis-alt-svc-06.html#host_auth. |
| 642 NET_ERROR(ALTERNATIVE_CERT_NOT_VALID_FOR_ORIGIN, -368) |
| 643 |
639 // The cache does not have the requested entry. | 644 // The cache does not have the requested entry. |
640 NET_ERROR(CACHE_MISS, -400) | 645 NET_ERROR(CACHE_MISS, -400) |
641 | 646 |
642 // Unable to read from the disk cache. | 647 // Unable to read from the disk cache. |
643 NET_ERROR(CACHE_READ_FAILURE, -401) | 648 NET_ERROR(CACHE_READ_FAILURE, -401) |
644 | 649 |
645 // Unable to write to the disk cache. | 650 // Unable to write to the disk cache. |
646 NET_ERROR(CACHE_WRITE_FAILURE, -402) | 651 NET_ERROR(CACHE_WRITE_FAILURE, -402) |
647 | 652 |
648 // The operation is not supported for this entry. | 653 // The operation is not supported for this entry. |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
787 NET_ERROR(DNS_TIMED_OUT, -803) | 792 NET_ERROR(DNS_TIMED_OUT, -803) |
788 | 793 |
789 // The entry was not found in cache, for cache-only lookups. | 794 // The entry was not found in cache, for cache-only lookups. |
790 NET_ERROR(DNS_CACHE_MISS, -804) | 795 NET_ERROR(DNS_CACHE_MISS, -804) |
791 | 796 |
792 // Suffix search list rules prevent resolution of the given host name. | 797 // Suffix search list rules prevent resolution of the given host name. |
793 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 798 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
794 | 799 |
795 // Failed to sort addresses according to RFC3484. | 800 // Failed to sort addresses according to RFC3484. |
796 NET_ERROR(DNS_SORT_ERROR, -806) | 801 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |