| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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. | 109 // The SSL handshake failed because of a bad or missing client certificate. |
| 110 NET_ERROR(BAD_SSL_CLIENT_AUTH_CERT, -117) | 110 NET_ERROR(BAD_SSL_CLIENT_AUTH_CERT, -117) |
| 111 | 111 |
| 112 // A connection attempt timed out. |
| 113 NET_ERROR(CONNECTION_TIMED_OUT, -118) |
| 114 |
| 112 // Certificate error codes | 115 // Certificate error codes |
| 113 // | 116 // |
| 114 // The values of certificate error codes must be consecutive. | 117 // The values of certificate error codes must be consecutive. |
| 115 | 118 |
| 116 // The server responded with a certificate whose common name did not match | 119 // The server responded with a certificate whose common name did not match |
| 117 // the host name. This could mean: | 120 // the host name. This could mean: |
| 118 // | 121 // |
| 119 // 1. An attacker has redirected our traffic to his server and is | 122 // 1. An attacker has redirected our traffic to his server and is |
| 120 // presenting a certificate for which he knows the private key. | 123 // presenting a certificate for which he knows the private key. |
| 121 // | 124 // |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 | 261 |
| 259 // The network transaction factory of the cache was not able to create a new | 262 // The network transaction factory of the cache was not able to create a new |
| 260 // transaction. | 263 // transaction. |
| 261 NET_ERROR(CACHE_CANNOT_CREATE_NETWORK_TRANSACTION, -402) | 264 NET_ERROR(CACHE_CANNOT_CREATE_NETWORK_TRANSACTION, -402) |
| 262 | 265 |
| 263 // The operation is not supported for this entry. | 266 // The operation is not supported for this entry. |
| 264 NET_ERROR(CACHE_OPERATION_NOT_SUPPORTED, -403) | 267 NET_ERROR(CACHE_OPERATION_NOT_SUPPORTED, -403) |
| 265 | 268 |
| 266 // The server's response was insecure (e.g. there was a cert error). | 269 // The server's response was insecure (e.g. there was a cert error). |
| 267 NET_ERROR(INSECURE_RESPONSE, -501) | 270 NET_ERROR(INSECURE_RESPONSE, -501) |
| OLD | NEW |