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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 // An SSL peer sent us a fatal bad_record_mac alert. This has been observed | 157 // An SSL peer sent us a fatal bad_record_mac alert. This has been observed |
158 // from servers with buggy DEFLATE support. | 158 // from servers with buggy DEFLATE support. |
159 NET_ERROR(SSL_BAD_RECORD_MAC_ALERT, -126) | 159 NET_ERROR(SSL_BAD_RECORD_MAC_ALERT, -126) |
160 | 160 |
161 // The proxy requested authentication (for tunnel establishment). | 161 // The proxy requested authentication (for tunnel establishment). |
162 NET_ERROR(PROXY_AUTH_REQUESTED, -127) | 162 NET_ERROR(PROXY_AUTH_REQUESTED, -127) |
163 | 163 |
164 // A known TLS strict server didn't offer the renegotiation extension. | 164 // A known TLS strict server didn't offer the renegotiation extension. |
165 NET_ERROR(SSL_UNSAFE_NEGOTIATION, -128) | 165 NET_ERROR(SSL_UNSAFE_NEGOTIATION, -128) |
166 | 166 |
167 // The socket is reporting that we tried to provide new credentials after a | |
168 // a failed attempt on a connection without keep alive. We need to | |
169 // reestablish the transport socket in order to retry the authentication. | |
170 NET_ERROR(RETRY_CONNECTION, -129) | |
171 | |
172 // Certificate error codes | 167 // Certificate error codes |
173 // | 168 // |
174 // The values of certificate error codes must be consecutive. | 169 // The values of certificate error codes must be consecutive. |
175 | 170 |
176 // The server responded with a certificate whose common name did not match | 171 // The server responded with a certificate whose common name did not match |
177 // the host name. This could mean: | 172 // the host name. This could mean: |
178 // | 173 // |
179 // 1. An attacker has redirected our traffic to his server and is | 174 // 1. An attacker has redirected our traffic to his server and is |
180 // presenting a certificate for which he knows the private key. | 175 // presenting a certificate for which he knows the private key. |
181 // | 176 // |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 NET_ERROR(FTP_SYNTAX_ERROR, -605) | 410 NET_ERROR(FTP_SYNTAX_ERROR, -605) |
416 | 411 |
417 // Server does not support the command we issued. | 412 // Server does not support the command we issued. |
418 // FTP response codes 502, 504. | 413 // FTP response codes 502, 504. |
419 NET_ERROR(FTP_COMMAND_NOT_SUPPORTED, -606) | 414 NET_ERROR(FTP_COMMAND_NOT_SUPPORTED, -606) |
420 | 415 |
421 // Server rejected our command because we didn't issue the commands in right | 416 // Server rejected our command because we didn't issue the commands in right |
422 // order. | 417 // order. |
423 // FTP response code 503. | 418 // FTP response code 503. |
424 NET_ERROR(FTP_BAD_COMMAND_SEQUENCE, -607) | 419 NET_ERROR(FTP_BAD_COMMAND_SEQUENCE, -607) |
OLD | NEW |