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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 // Resolving a hostname to an IP address list included the IPv4 address | 344 // Resolving a hostname to an IP address list included the IPv4 address |
345 // "127.0.53.53". This is a special IP address which ICANN has recommended to | 345 // "127.0.53.53". This is a special IP address which ICANN has recommended to |
346 // indicate there was a name collision, and alert admins to a potential | 346 // indicate there was a name collision, and alert admins to a potential |
347 // problem. | 347 // problem. |
348 NET_ERROR(ICANN_NAME_COLLISION, -166) | 348 NET_ERROR(ICANN_NAME_COLLISION, -166) |
349 | 349 |
350 // The SSL server presented a certificate which could not be decoded. This is | 350 // The SSL server presented a certificate which could not be decoded. This is |
351 // not a certificate error code as no X509Certificate object is available. This | 351 // not a certificate error code as no X509Certificate object is available. This |
352 // error is fatal. | 352 // error is fatal. |
353 NET_ERROR(SSL_SERVER_CERT_BAD_FORMAT, -167) | 353 NET_ERROR(SSL_SERVER_CERT_BAD_FORMAT, -167) |
| 354 // Certificate Transparency: Received a signed tree head that failed to parse. |
| 355 NET_ERROR(CT_STH_PARSING_FAILED, -168) |
| 356 // Certificate Transparency: Received a signed tree head whose JSON parsing was |
| 357 // OK but was missing some of the fields. |
| 358 NET_ERROR(CT_STH_INCOMPLETE, -169) |
354 | 359 |
355 // Certificate error codes | 360 // Certificate error codes |
356 // | 361 // |
357 // The values of certificate error codes must be consecutive. | 362 // The values of certificate error codes must be consecutive. |
358 | 363 |
359 // The server responded with a certificate whose common name did not match | 364 // The server responded with a certificate whose common name did not match |
360 // the host name. This could mean: | 365 // the host name. This could mean: |
361 // | 366 // |
362 // 1. An attacker has redirected our traffic to their server and is | 367 // 1. An attacker has redirected our traffic to their server and is |
363 // presenting a certificate for which they know the private key. | 368 // presenting a certificate for which they know the private key. |
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
805 NET_ERROR(DNS_TIMED_OUT, -803) | 810 NET_ERROR(DNS_TIMED_OUT, -803) |
806 | 811 |
807 // The entry was not found in cache, for cache-only lookups. | 812 // The entry was not found in cache, for cache-only lookups. |
808 NET_ERROR(DNS_CACHE_MISS, -804) | 813 NET_ERROR(DNS_CACHE_MISS, -804) |
809 | 814 |
810 // Suffix search list rules prevent resolution of the given host name. | 815 // Suffix search list rules prevent resolution of the given host name. |
811 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 816 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
812 | 817 |
813 // Failed to sort addresses according to RFC3484. | 818 // Failed to sort addresses according to RFC3484. |
814 NET_ERROR(DNS_SORT_ERROR, -806) | 819 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |