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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 NET_ERROR(HOST_RESOLVER_QUEUE_TOO_LARGE, -119) | 183 NET_ERROR(HOST_RESOLVER_QUEUE_TOO_LARGE, -119) |
184 | 184 |
185 // Failed establishing a connection to the SOCKS proxy server for a target host. | 185 // Failed establishing a connection to the SOCKS proxy server for a target host. |
186 NET_ERROR(SOCKS_CONNECTION_FAILED, -120) | 186 NET_ERROR(SOCKS_CONNECTION_FAILED, -120) |
187 | 187 |
188 // The SOCKS proxy server failed establishing connection to the target host | 188 // The SOCKS proxy server failed establishing connection to the target host |
189 // because that host is unreachable. | 189 // because that host is unreachable. |
190 NET_ERROR(SOCKS_CONNECTION_HOST_UNREACHABLE, -121) | 190 NET_ERROR(SOCKS_CONNECTION_HOST_UNREACHABLE, -121) |
191 | 191 |
192 // The request to negotiate an alternate protocol failed. | 192 // The request to negotiate an alternate protocol failed. |
193 NET_ERROR(NPN_NEGOTIATION_FAILED, -122) | 193 NET_ERROR(ALPN_NEGOTIATION_FAILED, -122) |
194 | 194 |
195 // The peer sent an SSL no_renegotiation alert message. | 195 // The peer sent an SSL no_renegotiation alert message. |
196 NET_ERROR(SSL_NO_RENEGOTIATION, -123) | 196 NET_ERROR(SSL_NO_RENEGOTIATION, -123) |
197 | 197 |
198 // Winsock sometimes reports more data written than passed. This is probably | 198 // Winsock sometimes reports more data written than passed. This is probably |
199 // due to a broken LSP. | 199 // due to a broken LSP. |
200 NET_ERROR(WINSOCK_UNEXPECTED_WRITTEN_BYTES, -124) | 200 NET_ERROR(WINSOCK_UNEXPECTED_WRITTEN_BYTES, -124) |
201 | 201 |
202 // An SSL peer sent us a fatal decompression_failure alert. This typically | 202 // An SSL peer sent us a fatal decompression_failure alert. This typically |
203 // occurs when a peer selects DEFLATE compression in the mistaken belief that | 203 // occurs when a peer selects DEFLATE compression in the mistaken belief that |
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
836 NET_ERROR(DNS_TIMED_OUT, -803) | 836 NET_ERROR(DNS_TIMED_OUT, -803) |
837 | 837 |
838 // The entry was not found in cache, for cache-only lookups. | 838 // The entry was not found in cache, for cache-only lookups. |
839 NET_ERROR(DNS_CACHE_MISS, -804) | 839 NET_ERROR(DNS_CACHE_MISS, -804) |
840 | 840 |
841 // Suffix search list rules prevent resolution of the given host name. | 841 // Suffix search list rules prevent resolution of the given host name. |
842 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 842 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
843 | 843 |
844 // Failed to sort addresses according to RFC3484. | 844 // Failed to sort addresses according to RFC3484. |
845 NET_ERROR(DNS_SORT_ERROR, -806) | 845 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |