| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 // The SOCKS proxy server failed establishing connection to the target host | 133 // The SOCKS proxy server failed establishing connection to the target host |
| 134 // because that host is unreachable. | 134 // because that host is unreachable. |
| 135 NET_ERROR(SOCKS_CONNECTION_HOST_UNREACHABLE, -121) | 135 NET_ERROR(SOCKS_CONNECTION_HOST_UNREACHABLE, -121) |
| 136 | 136 |
| 137 // There is no more data left in the logical stream. | 137 // There is no more data left in the logical stream. |
| 138 NET_ERROR(END_OF_STREAM, -122) | 138 NET_ERROR(END_OF_STREAM, -122) |
| 139 | 139 |
| 140 // The peer sent an SSL no_renegotiation alert message. | 140 // The peer sent an SSL no_renegotiation alert message. |
| 141 NET_ERROR(SSL_NO_RENEGOTIATION, -123) | 141 NET_ERROR(SSL_NO_RENEGOTIATION, -123) |
| 142 | 142 |
| 143 // Winsock sometimes reports more data written than passed. This is probably |
| 144 // due to a broken LSP. |
| 145 NET_ERROR(WINSOCK_UNEXPECTED_WRITTEN_BYTES, -124) |
| 146 |
| 143 // Certificate error codes | 147 // Certificate error codes |
| 144 // | 148 // |
| 145 // The values of certificate error codes must be consecutive. | 149 // The values of certificate error codes must be consecutive. |
| 146 | 150 |
| 147 // The server responded with a certificate whose common name did not match | 151 // The server responded with a certificate whose common name did not match |
| 148 // the host name. This could mean: | 152 // the host name. This could mean: |
| 149 // | 153 // |
| 150 // 1. An attacker has redirected our traffic to his server and is | 154 // 1. An attacker has redirected our traffic to his server and is |
| 151 // presenting a certificate for which he knows the private key. | 155 // presenting a certificate for which he knows the private key. |
| 152 // | 156 // |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 // internal error returned from the HttpCache to the HttpCacheTransaction that | 345 // internal error returned from the HttpCache to the HttpCacheTransaction that |
| 342 // tells the transaction to restart the entry-creation logic because the state | 346 // tells the transaction to restart the entry-creation logic because the state |
| 343 // of the cache has changed. | 347 // of the cache has changed. |
| 344 NET_ERROR(CACHE_RACE, -406) | 348 NET_ERROR(CACHE_RACE, -406) |
| 345 | 349 |
| 346 // The server's response was insecure (e.g. there was a cert error). | 350 // The server's response was insecure (e.g. there was a cert error). |
| 347 NET_ERROR(INSECURE_RESPONSE, -501) | 351 NET_ERROR(INSECURE_RESPONSE, -501) |
| 348 // | 352 // |
| 349 // The FTP PASV command failed. | 353 // The FTP PASV command failed. |
| 350 NET_ERROR(FTP_PASV_COMMAND_FAILED, -600) | 354 NET_ERROR(FTP_PASV_COMMAND_FAILED, -600) |
| OLD | NEW |