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 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
695 NET_ERROR(INVALID_HTTP_RESPONSE, -370) | 695 NET_ERROR(INVALID_HTTP_RESPONSE, -370) |
696 | 696 |
697 // Initializing content decoding failed. | 697 // Initializing content decoding failed. |
698 NET_ERROR(CONTENT_DECODING_INIT_FAILED, -371) | 698 NET_ERROR(CONTENT_DECODING_INIT_FAILED, -371) |
699 | 699 |
700 // Received HTTP/2 RST_STREAM frame with NO_ERROR error code. This error should | 700 // Received HTTP/2 RST_STREAM frame with NO_ERROR error code. This error should |
701 // be handled internally by HTTP/2 code, and should not make it above the | 701 // be handled internally by HTTP/2 code, and should not make it above the |
702 // SpdyStream layer. | 702 // SpdyStream layer. |
703 NET_ERROR(SPDY_RST_STREAM_NO_ERROR_RECEIVED, -372) | 703 NET_ERROR(SPDY_RST_STREAM_NO_ERROR_RECEIVED, -372) |
704 | 704 |
705 // Content decoding of the response body failed. | |
706 NET_ERROR(INVALID_CONTENT_ENCODING, -373) | |
Randy Smith (Not in Mondays)
2017/03/15 16:35:31
I"m inclined instead to make this CONTENT_DECODING
eustas
2017/03/16 12:08:16
Done. Yup, net/http -> net/filter dependency doesn
Randy Smith (Not in Mondays)
2017/03/16 17:50:43
I've gone back and forth on whether to ask you to
eustas
2017/03/20 13:05:18
No worries =)
| |
707 | |
705 // The cache does not have the requested entry. | 708 // The cache does not have the requested entry. |
706 NET_ERROR(CACHE_MISS, -400) | 709 NET_ERROR(CACHE_MISS, -400) |
707 | 710 |
708 // Unable to read from the disk cache. | 711 // Unable to read from the disk cache. |
709 NET_ERROR(CACHE_READ_FAILURE, -401) | 712 NET_ERROR(CACHE_READ_FAILURE, -401) |
710 | 713 |
711 // Unable to write to the disk cache. | 714 // Unable to write to the disk cache. |
712 NET_ERROR(CACHE_WRITE_FAILURE, -402) | 715 NET_ERROR(CACHE_WRITE_FAILURE, -402) |
713 | 716 |
714 // The operation is not supported for this entry. | 717 // The operation is not supported for this entry. |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
855 NET_ERROR(DNS_TIMED_OUT, -803) | 858 NET_ERROR(DNS_TIMED_OUT, -803) |
856 | 859 |
857 // The entry was not found in cache, for cache-only lookups. | 860 // The entry was not found in cache, for cache-only lookups. |
858 NET_ERROR(DNS_CACHE_MISS, -804) | 861 NET_ERROR(DNS_CACHE_MISS, -804) |
859 | 862 |
860 // Suffix search list rules prevent resolution of the given host name. | 863 // Suffix search list rules prevent resolution of the given host name. |
861 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 864 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
862 | 865 |
863 // Failed to sort addresses according to RFC3484. | 866 // Failed to sort addresses according to RFC3484. |
864 NET_ERROR(DNS_SORT_ERROR, -806) | 867 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |