| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 contains the list of network errors. | 5 // This file contains the list of network errors. |
| 6 | 6 |
| 7 // An asynchronous IO operation is not yet complete. This usually does not | 7 // An asynchronous IO operation is not yet complete. This usually does not |
| 8 // indicate a fatal error. Typically this error will be generated as a | 8 // indicate a fatal error. Typically this error will be generated as a |
| 9 // notification to wait for some external notification that the IO operation | 9 // notification to wait for some external notification that the IO operation |
| 10 // finally completed. | 10 // finally completed. |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 // The proxy requested authentication (for tunnel establishment). | 99 // The proxy requested authentication (for tunnel establishment). |
| 100 NET_ERROR(PROXY_AUTH_REQUESTED, -115) | 100 NET_ERROR(PROXY_AUTH_REQUESTED, -115) |
| 101 | 101 |
| 102 // During SSL renegotiation (rehandshake), the server sent a certificate with | 102 // During SSL renegotiation (rehandshake), the server sent a certificate with |
| 103 // an error. | 103 // an error. |
| 104 // | 104 // |
| 105 // Note: this error is not in the -2xx range so that it won't be handled as a | 105 // Note: this error is not in the -2xx range so that it won't be handled as a |
| 106 // certificate error. | 106 // certificate error. |
| 107 NET_ERROR(CERT_ERROR_IN_SSL_RENEGOTIATION, -116) | 107 NET_ERROR(CERT_ERROR_IN_SSL_RENEGOTIATION, -116) |
| 108 | 108 |
| 109 // The SSL handshake failed because of a bad or missing client certificate. |
| 110 NET_ERROR(BAD_SSL_CLIENT_AUTH_CERT, -117) |
| 111 |
| 109 // Certificate error codes | 112 // Certificate error codes |
| 110 // | 113 // |
| 111 // The values of certificate error codes must be consecutive. | 114 // The values of certificate error codes must be consecutive. |
| 112 | 115 |
| 113 // The server responded with a certificate whose common name did not match | 116 // The server responded with a certificate whose common name did not match |
| 114 // the host name. This could mean: | 117 // the host name. This could mean: |
| 115 // | 118 // |
| 116 // 1. An attacker has redirected our traffic to his server and is | 119 // 1. An attacker has redirected our traffic to his server and is |
| 117 // presenting a certificate for which he knows the private key. | 120 // presenting a certificate for which he knows the private key. |
| 118 // | 121 // |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 | 258 |
| 256 // The network transaction factory of the cache was not able to create a new | 259 // The network transaction factory of the cache was not able to create a new |
| 257 // transaction. | 260 // transaction. |
| 258 NET_ERROR(CACHE_CANNOT_CREATE_NETWORK_TRANSACTION, -402) | 261 NET_ERROR(CACHE_CANNOT_CREATE_NETWORK_TRANSACTION, -402) |
| 259 | 262 |
| 260 // The operation is not supported for this entry. | 263 // The operation is not supported for this entry. |
| 261 NET_ERROR(CACHE_OPERATION_NOT_SUPPORTED, -403) | 264 NET_ERROR(CACHE_OPERATION_NOT_SUPPORTED, -403) |
| 262 | 265 |
| 263 // The server's response was insecure (e.g. there was a cert error). | 266 // The server's response was insecure (e.g. there was a cert error). |
| 264 NET_ERROR(INSECURE_RESPONSE, -501) | 267 NET_ERROR(INSECURE_RESPONSE, -501) |
| OLD | NEW |