OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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. | 6 // inside a macro to generate enum. |
7 | 7 |
8 // This file contains the list of network errors. | 8 // This file contains the list of network errors. |
9 | 9 |
10 // | 10 // |
11 // Ranges: | 11 // Ranges: |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 // one of a set of public keys exist on the path from the leaf to the root. | 278 // one of a set of public keys exist on the path from the leaf to the root. |
279 NET_ERROR(SSL_PINNED_KEY_NOT_IN_CERT_CHAIN, -150) | 279 NET_ERROR(SSL_PINNED_KEY_NOT_IN_CERT_CHAIN, -150) |
280 | 280 |
281 // Server request for client certificate did not contain any types we support. | 281 // Server request for client certificate did not contain any types we support. |
282 NET_ERROR(CLIENT_AUTH_CERT_TYPE_UNSUPPORTED, -151) | 282 NET_ERROR(CLIENT_AUTH_CERT_TYPE_UNSUPPORTED, -151) |
283 | 283 |
284 // Server requested one type of cert, then requested a different type while the | 284 // Server requested one type of cert, then requested a different type while the |
285 // first was still being generated. | 285 // first was still being generated. |
286 NET_ERROR(ORIGIN_BOUND_CERT_GENERATION_TYPE_MISMATCH, -152) | 286 NET_ERROR(ORIGIN_BOUND_CERT_GENERATION_TYPE_MISMATCH, -152) |
287 | 287 |
288 // The proxy does not support restarting a request on the existing connection. | |
289 NET_ERROR(NO_KEEP_ALIVE_ON_AUTH_RESTART, -153) | |
290 | |
291 // Certificate error codes | 288 // Certificate error codes |
292 // | 289 // |
293 // The values of certificate error codes must be consecutive. | 290 // The values of certificate error codes must be consecutive. |
294 | 291 |
295 // The server responded with a certificate whose common name did not match | 292 // The server responded with a certificate whose common name did not match |
296 // the host name. This could mean: | 293 // the host name. This could mean: |
297 // | 294 // |
298 // 1. An attacker has redirected our traffic to his server and is | 295 // 1. An attacker has redirected our traffic to his server and is |
299 // presenting a certificate for which he knows the private key. | 296 // presenting a certificate for which he knows the private key. |
300 // | 297 // |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
650 NET_ERROR(DNS_SERVER_FAILED, -802) | 647 NET_ERROR(DNS_SERVER_FAILED, -802) |
651 | 648 |
652 // DNS transaction timed out. | 649 // DNS transaction timed out. |
653 NET_ERROR(DNS_TIMED_OUT, -803) | 650 NET_ERROR(DNS_TIMED_OUT, -803) |
654 | 651 |
655 // The entry was not found in cache, for cache-only lookups. | 652 // The entry was not found in cache, for cache-only lookups. |
656 NET_ERROR(DNS_CACHE_MISS, -804) | 653 NET_ERROR(DNS_CACHE_MISS, -804) |
657 | 654 |
658 // FIXME: Take the next number. | 655 // FIXME: Take the next number. |
659 NET_ERROR(PIPELINE_EVICTION, -900) | 656 NET_ERROR(PIPELINE_EVICTION, -900) |
OLD | NEW |