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 // | 7 // |
8 // Ranges: | 8 // Ranges: |
9 // 0- 99 System related errors | 9 // 0- 99 System related errors |
10 // 100-199 Connection related errors | 10 // 100-199 Connection related errors |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 // The SSL handshake failed because of a bad or missing client certificate. | 118 // The SSL handshake failed because of a bad or missing client certificate. |
119 NET_ERROR(BAD_SSL_CLIENT_AUTH_CERT, -117) | 119 NET_ERROR(BAD_SSL_CLIENT_AUTH_CERT, -117) |
120 | 120 |
121 // A connection attempt timed out. | 121 // A connection attempt timed out. |
122 NET_ERROR(CONNECTION_TIMED_OUT, -118) | 122 NET_ERROR(CONNECTION_TIMED_OUT, -118) |
123 | 123 |
124 // There are too many pending DNS resolves, so a request in the queue was | 124 // There are too many pending DNS resolves, so a request in the queue was |
125 // aborted. | 125 // aborted. |
126 NET_ERROR(HOST_RESOLVER_QUEUE_TOO_LARGE, -119) | 126 NET_ERROR(HOST_RESOLVER_QUEUE_TOO_LARGE, -119) |
127 | 127 |
| 128 // Failed establishing a connection to the SOCKS proxy server for a target host. |
| 129 NET_ERROR(SOCKS_CONNECTION_FAILED, -120) |
| 130 |
| 131 // The SOCKS proxy server failed establishing connection to the target host |
| 132 // because that host is unreachable. |
| 133 NET_ERROR(SOCKS_CONNECTION_HOST_UNREACHABLE, -121) |
| 134 |
128 // Certificate error codes | 135 // Certificate error codes |
129 // | 136 // |
130 // The values of certificate error codes must be consecutive. | 137 // The values of certificate error codes must be consecutive. |
131 | 138 |
132 // The server responded with a certificate whose common name did not match | 139 // The server responded with a certificate whose common name did not match |
133 // the host name. This could mean: | 140 // the host name. This could mean: |
134 // | 141 // |
135 // 1. An attacker has redirected our traffic to his server and is | 142 // 1. An attacker has redirected our traffic to his server and is |
136 // presenting a certificate for which he knows the private key. | 143 // presenting a certificate for which he knows the private key. |
137 // | 144 // |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 NET_ERROR(CACHE_CREATE_FAILURE, -405) | 323 NET_ERROR(CACHE_CREATE_FAILURE, -405) |
317 | 324 |
318 // Multiple transactions are racing to create disk cache entries. This is an | 325 // Multiple transactions are racing to create disk cache entries. This is an |
319 // internal error returned from the HttpCache to the HttpCacheTransaction that | 326 // internal error returned from the HttpCache to the HttpCacheTransaction that |
320 // tells the transaction to restart the entry-creation logic because the state | 327 // tells the transaction to restart the entry-creation logic because the state |
321 // of the cache has changed. | 328 // of the cache has changed. |
322 NET_ERROR(CACHE_RACE, -406) | 329 NET_ERROR(CACHE_RACE, -406) |
323 | 330 |
324 // The server's response was insecure (e.g. there was a cert error). | 331 // The server's response was insecure (e.g. there was a cert error). |
325 NET_ERROR(INSECURE_RESPONSE, -501) | 332 NET_ERROR(INSECURE_RESPONSE, -501) |
OLD | NEW |