OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 values. | 6 // inside a macro to generate enum values. |
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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 // it supports it. | 199 // it supports it. |
200 NET_ERROR(SSL_DECOMPRESSION_FAILURE_ALERT, -125) | 200 NET_ERROR(SSL_DECOMPRESSION_FAILURE_ALERT, -125) |
201 | 201 |
202 // An SSL peer sent us a fatal bad_record_mac alert. This has been observed | 202 // An SSL peer sent us a fatal bad_record_mac alert. This has been observed |
203 // from servers with buggy DEFLATE support. | 203 // from servers with buggy DEFLATE support. |
204 NET_ERROR(SSL_BAD_RECORD_MAC_ALERT, -126) | 204 NET_ERROR(SSL_BAD_RECORD_MAC_ALERT, -126) |
205 | 205 |
206 // The proxy requested authentication (for tunnel establishment). | 206 // The proxy requested authentication (for tunnel establishment). |
207 NET_ERROR(PROXY_AUTH_REQUESTED, -127) | 207 NET_ERROR(PROXY_AUTH_REQUESTED, -127) |
208 | 208 |
209 // A known TLS strict server didn't offer the renegotiation extension. | |
210 NET_ERROR(SSL_UNSAFE_NEGOTIATION, -128) | |
211 | |
212 // The SSL server attempted to use a weak ephemeral Diffie-Hellman key. | 209 // The SSL server attempted to use a weak ephemeral Diffie-Hellman key. |
213 NET_ERROR(SSL_WEAK_SERVER_EPHEMERAL_DH_KEY, -129) | 210 NET_ERROR(SSL_WEAK_SERVER_EPHEMERAL_DH_KEY, -129) |
214 | 211 |
215 // Could not create a connection to the proxy server. An error occurred | 212 // Could not create a connection to the proxy server. An error occurred |
216 // either in resolving its name, or in connecting a socket to it. | 213 // either in resolving its name, or in connecting a socket to it. |
217 // Note that this does NOT include failures during the actual "CONNECT" method | 214 // Note that this does NOT include failures during the actual "CONNECT" method |
218 // of an HTTP proxy. | 215 // of an HTTP proxy. |
219 NET_ERROR(PROXY_CONNECTION_FAILED, -130) | 216 NET_ERROR(PROXY_CONNECTION_FAILED, -130) |
220 | 217 |
221 // A mandatory proxy configuration could not be used. Currently this means | 218 // A mandatory proxy configuration could not be used. Currently this means |
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 NET_ERROR(DNS_TIMED_OUT, -803) | 793 NET_ERROR(DNS_TIMED_OUT, -803) |
797 | 794 |
798 // The entry was not found in cache, for cache-only lookups. | 795 // The entry was not found in cache, for cache-only lookups. |
799 NET_ERROR(DNS_CACHE_MISS, -804) | 796 NET_ERROR(DNS_CACHE_MISS, -804) |
800 | 797 |
801 // Suffix search list rules prevent resolution of the given host name. | 798 // Suffix search list rules prevent resolution of the given host name. |
802 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 799 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
803 | 800 |
804 // Failed to sort addresses according to RFC3484. | 801 // Failed to sort addresses according to RFC3484. |
805 NET_ERROR(DNS_SORT_ERROR, -806) | 802 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |