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 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 // The HTTP response contained multiple Location headers. | 563 // The HTTP response contained multiple Location headers. |
564 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_LOCATION, -350) | 564 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_LOCATION, -350) |
565 | 565 |
566 // SPDY server refused the stream. Client should retry. This should never be a | 566 // SPDY server refused the stream. Client should retry. This should never be a |
567 // user-visible error. | 567 // user-visible error. |
568 NET_ERROR(SPDY_SERVER_REFUSED_STREAM, -351) | 568 NET_ERROR(SPDY_SERVER_REFUSED_STREAM, -351) |
569 | 569 |
570 // SPDY server didn't respond to the PING message. | 570 // SPDY server didn't respond to the PING message. |
571 NET_ERROR(SPDY_PING_FAILED, -352) | 571 NET_ERROR(SPDY_PING_FAILED, -352) |
572 | 572 |
573 // The request couldn't be completed on an HTTP pipeline. Client should retry. | 573 // Obsolete. Kept here to avoid reuse, as the old error can still appear on |
574 NET_ERROR(PIPELINE_EVICTION, -353) | 574 // histograms. |
| 575 // NET_ERROR(PIPELINE_EVICTION, -353) |
575 | 576 |
576 // The HTTP response body transferred fewer bytes than were advertised by the | 577 // The HTTP response body transferred fewer bytes than were advertised by the |
577 // Content-Length header when the connection is closed. | 578 // Content-Length header when the connection is closed. |
578 NET_ERROR(CONTENT_LENGTH_MISMATCH, -354) | 579 NET_ERROR(CONTENT_LENGTH_MISMATCH, -354) |
579 | 580 |
580 // The HTTP response body is transferred with Chunked-Encoding, but the | 581 // The HTTP response body is transferred with Chunked-Encoding, but the |
581 // terminating zero-length chunk was never sent when the connection is closed. | 582 // terminating zero-length chunk was never sent when the connection is closed. |
582 NET_ERROR(INCOMPLETE_CHUNKED_ENCODING, -355) | 583 NET_ERROR(INCOMPLETE_CHUNKED_ENCODING, -355) |
583 | 584 |
584 // There is a QUIC protocol error. | 585 // There is a QUIC protocol error. |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
742 NET_ERROR(DNS_TIMED_OUT, -803) | 743 NET_ERROR(DNS_TIMED_OUT, -803) |
743 | 744 |
744 // The entry was not found in cache, for cache-only lookups. | 745 // The entry was not found in cache, for cache-only lookups. |
745 NET_ERROR(DNS_CACHE_MISS, -804) | 746 NET_ERROR(DNS_CACHE_MISS, -804) |
746 | 747 |
747 // Suffix search list rules prevent resolution of the given host name. | 748 // Suffix search list rules prevent resolution of the given host name. |
748 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 749 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
749 | 750 |
750 // Failed to sort addresses according to RFC3484. | 751 // Failed to sort addresses according to RFC3484. |
751 NET_ERROR(DNS_SORT_ERROR, -806) | 752 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |