| 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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 | 307 |
| 308 // There are too many pending WebSocketJob instances, so the new job was not | 308 // There are too many pending WebSocketJob instances, so the new job was not |
| 309 // pushed to the queue. | 309 // pushed to the queue. |
| 310 NET_ERROR(WS_THROTTLE_QUEUE_TOO_LARGE, -154) | 310 NET_ERROR(WS_THROTTLE_QUEUE_TOO_LARGE, -154) |
| 311 | 311 |
| 312 // Error -155 was removed (TOO_MANY_SOCKET_STREAMS) | 312 // Error -155 was removed (TOO_MANY_SOCKET_STREAMS) |
| 313 | 313 |
| 314 // The SSL server certificate changed in a renegotiation. | 314 // The SSL server certificate changed in a renegotiation. |
| 315 NET_ERROR(SSL_SERVER_CERT_CHANGED, -156) | 315 NET_ERROR(SSL_SERVER_CERT_CHANGED, -156) |
| 316 | 316 |
| 317 // The SSL server indicated that an unnecessary TLS version fallback was | 317 // Error -157 was removed (SSL_INAPPROPRIATE_FALLBACK). |
| 318 // performed. | |
| 319 NET_ERROR(SSL_INAPPROPRIATE_FALLBACK, -157) | |
| 320 | 318 |
| 321 // Certificate Transparency: All Signed Certificate Timestamps failed to verify. | 319 // Certificate Transparency: All Signed Certificate Timestamps failed to verify. |
| 322 NET_ERROR(CT_NO_SCTS_VERIFIED_OK, -158) | 320 NET_ERROR(CT_NO_SCTS_VERIFIED_OK, -158) |
| 323 | 321 |
| 324 // The SSL server sent us a fatal unrecognized_name alert. | 322 // The SSL server sent us a fatal unrecognized_name alert. |
| 325 NET_ERROR(SSL_UNRECOGNIZED_NAME_ALERT, -159) | 323 NET_ERROR(SSL_UNRECOGNIZED_NAME_ALERT, -159) |
| 326 | 324 |
| 327 // Failed to set the socket's receive buffer size as requested. | 325 // Failed to set the socket's receive buffer size as requested. |
| 328 NET_ERROR(SOCKET_SET_RECEIVE_BUFFER_SIZE_ERROR, -160) | 326 NET_ERROR(SOCKET_SET_RECEIVE_BUFFER_SIZE_ERROR, -160) |
| 329 | 327 |
| 330 // Failed to set the socket's send buffer size as requested. | 328 // Failed to set the socket's send buffer size as requested. |
| 331 NET_ERROR(SOCKET_SET_SEND_BUFFER_SIZE_ERROR, -161) | 329 NET_ERROR(SOCKET_SET_SEND_BUFFER_SIZE_ERROR, -161) |
| 332 | 330 |
| 333 // Failed to set the socket's receive buffer size as requested, despite success | 331 // Failed to set the socket's receive buffer size as requested, despite success |
| 334 // return code from setsockopt. | 332 // return code from setsockopt. |
| 335 NET_ERROR(SOCKET_RECEIVE_BUFFER_SIZE_UNCHANGEABLE, -162) | 333 NET_ERROR(SOCKET_RECEIVE_BUFFER_SIZE_UNCHANGEABLE, -162) |
| 336 | 334 |
| 337 // Failed to set the socket's send buffer size as requested, despite success | 335 // Failed to set the socket's send buffer size as requested, despite success |
| 338 // return code from setsockopt. | 336 // return code from setsockopt. |
| 339 NET_ERROR(SOCKET_SEND_BUFFER_SIZE_UNCHANGEABLE, -163) | 337 NET_ERROR(SOCKET_SEND_BUFFER_SIZE_UNCHANGEABLE, -163) |
| 340 | 338 |
| 341 // Failed to import a client certificate from the platform store into the SSL | 339 // Failed to import a client certificate from the platform store into the SSL |
| 342 // library. | 340 // library. |
| 343 NET_ERROR(SSL_CLIENT_AUTH_CERT_BAD_FORMAT, -164) | 341 NET_ERROR(SSL_CLIENT_AUTH_CERT_BAD_FORMAT, -164) |
| 344 | 342 |
| 345 // The SSL server requires falling back to a version older than the configured | 343 // Error -165 was removed (SSL_FALLBACK_BEYOND_MINIMUM_VERSION). |
| 346 // minimum fallback version, and thus fallback failed. | |
| 347 NET_ERROR(SSL_FALLBACK_BEYOND_MINIMUM_VERSION, -165) | |
| 348 | 344 |
| 349 // Resolving a hostname to an IP address list included the IPv4 address | 345 // Resolving a hostname to an IP address list included the IPv4 address |
| 350 // "127.0.53.53". This is a special IP address which ICANN has recommended to | 346 // "127.0.53.53". This is a special IP address which ICANN has recommended to |
| 351 // indicate there was a name collision, and alert admins to a potential | 347 // indicate there was a name collision, and alert admins to a potential |
| 352 // problem. | 348 // problem. |
| 353 NET_ERROR(ICANN_NAME_COLLISION, -166) | 349 NET_ERROR(ICANN_NAME_COLLISION, -166) |
| 354 | 350 |
| 355 // The SSL server presented a certificate which could not be decoded. This is | 351 // The SSL server presented a certificate which could not be decoded. This is |
| 356 // not a certificate error code as no X509Certificate object is available. This | 352 // not a certificate error code as no X509Certificate object is available. This |
| 357 // error is fatal. | 353 // error is fatal. |
| (...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 NET_ERROR(DNS_TIMED_OUT, -803) | 832 NET_ERROR(DNS_TIMED_OUT, -803) |
| 837 | 833 |
| 838 // The entry was not found in cache, for cache-only lookups. | 834 // The entry was not found in cache, for cache-only lookups. |
| 839 NET_ERROR(DNS_CACHE_MISS, -804) | 835 NET_ERROR(DNS_CACHE_MISS, -804) |
| 840 | 836 |
| 841 // Suffix search list rules prevent resolution of the given host name. | 837 // Suffix search list rules prevent resolution of the given host name. |
| 842 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 838 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
| 843 | 839 |
| 844 // Failed to sort addresses according to RFC3484. | 840 // Failed to sort addresses according to RFC3484. |
| 845 NET_ERROR(DNS_SORT_ERROR, -806) | 841 NET_ERROR(DNS_SORT_ERROR, -806) |
| OLD | NEW |