| OLD | NEW |
| 1 // Copyright (c) 2011 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 // |
| (...skipping 267 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 |
| 288 // Certificate error codes | 291 // Certificate error codes |
| 289 // | 292 // |
| 290 // The values of certificate error codes must be consecutive. | 293 // The values of certificate error codes must be consecutive. |
| 291 | 294 |
| 292 // The server responded with a certificate whose common name did not match | 295 // The server responded with a certificate whose common name did not match |
| 293 // the host name. This could mean: | 296 // the host name. This could mean: |
| 294 // | 297 // |
| 295 // 1. An attacker has redirected our traffic to his server and is | 298 // 1. An attacker has redirected our traffic to his server and is |
| 296 // presenting a certificate for which he knows the private key. | 299 // presenting a certificate for which he knows the private key. |
| 297 // | 300 // |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 647 NET_ERROR(DNS_SERVER_FAILED, -802) | 650 NET_ERROR(DNS_SERVER_FAILED, -802) |
| 648 | 651 |
| 649 // DNS transaction timed out. | 652 // DNS transaction timed out. |
| 650 NET_ERROR(DNS_TIMED_OUT, -803) | 653 NET_ERROR(DNS_TIMED_OUT, -803) |
| 651 | 654 |
| 652 // The entry was not found in cache, for cache-only lookups. | 655 // The entry was not found in cache, for cache-only lookups. |
| 653 NET_ERROR(DNS_CACHE_MISS, -804) | 656 NET_ERROR(DNS_CACHE_MISS, -804) |
| 654 | 657 |
| 655 // FIXME: Take the next number. | 658 // FIXME: Take the next number. |
| 656 NET_ERROR(PIPELINE_EVICTION, -900) | 659 NET_ERROR(PIPELINE_EVICTION, -900) |
| OLD | NEW |