| 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 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 // An SSL peer sent us a fatal bad_record_mac alert. This has been observed | 161 // An SSL peer sent us a fatal bad_record_mac alert. This has been observed |
| 162 // from servers with buggy DEFLATE support. | 162 // from servers with buggy DEFLATE support. |
| 163 NET_ERROR(SSL_BAD_RECORD_MAC_ALERT, -126) | 163 NET_ERROR(SSL_BAD_RECORD_MAC_ALERT, -126) |
| 164 | 164 |
| 165 // The proxy requested authentication (for tunnel establishment). | 165 // The proxy requested authentication (for tunnel establishment). |
| 166 NET_ERROR(PROXY_AUTH_REQUESTED, -127) | 166 NET_ERROR(PROXY_AUTH_REQUESTED, -127) |
| 167 | 167 |
| 168 // A known TLS strict server didn't offer the renegotiation extension. | 168 // A known TLS strict server didn't offer the renegotiation extension. |
| 169 NET_ERROR(SSL_UNSAFE_NEGOTIATION, -128) | 169 NET_ERROR(SSL_UNSAFE_NEGOTIATION, -128) |
| 170 | 170 |
| 171 // The request throttler module cancelled this request because the are too many |
| 172 // requests to a server that is failing requests. |
| 173 NET_ERROR(TEMPORARILY_THROTTLED_BY_DDOS, -129) |
| 174 |
| 171 // Certificate error codes | 175 // Certificate error codes |
| 172 // | 176 // |
| 173 // The values of certificate error codes must be consecutive. | 177 // The values of certificate error codes must be consecutive. |
| 174 | 178 |
| 175 // The server responded with a certificate whose common name did not match | 179 // The server responded with a certificate whose common name did not match |
| 176 // the host name. This could mean: | 180 // the host name. This could mean: |
| 177 // | 181 // |
| 178 // 1. An attacker has redirected our traffic to his server and is | 182 // 1. An attacker has redirected our traffic to his server and is |
| 179 // presenting a certificate for which he knows the private key. | 183 // presenting a certificate for which he knows the private key. |
| 180 // | 184 // |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 // Server rejected our command because we didn't issue the commands in right | 424 // Server rejected our command because we didn't issue the commands in right |
| 421 // order. | 425 // order. |
| 422 // FTP response code 503. | 426 // FTP response code 503. |
| 423 NET_ERROR(FTP_BAD_COMMAND_SEQUENCE, -607) | 427 NET_ERROR(FTP_BAD_COMMAND_SEQUENCE, -607) |
| 424 | 428 |
| 425 // PKCS #12 import failed due to incorrect password. | 429 // PKCS #12 import failed due to incorrect password. |
| 426 NET_ERROR(PKCS12_IMPORT_BAD_PASSWORD, -701) | 430 NET_ERROR(PKCS12_IMPORT_BAD_PASSWORD, -701) |
| 427 | 431 |
| 428 // PKCS #12 import failed due to other error. | 432 // PKCS #12 import failed due to other error. |
| 429 NET_ERROR(PKCS12_IMPORT_FAILED, -702) | 433 NET_ERROR(PKCS12_IMPORT_FAILED, -702) |
| OLD | NEW |