Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(475)

Side by Side Diff: net/base/net_error_list.h

Issue 2144803002: Remove HTTP/0.9 support from HttpStreamParser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix websockets tests Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 676
677 // The certificate offered by the alternative server is not valid for the 677 // The certificate offered by the alternative server is not valid for the
678 // origin, a violation of HTTP Alternative Services specification Section 2.1, 678 // origin, a violation of HTTP Alternative Services specification Section 2.1,
679 // https://tools.ietf.org/id/draft-ietf-httpbis-alt-svc-06.html#host_auth. 679 // https://tools.ietf.org/id/draft-ietf-httpbis-alt-svc-06.html#host_auth.
680 NET_ERROR(ALTERNATIVE_CERT_NOT_VALID_FOR_ORIGIN, -368) 680 NET_ERROR(ALTERNATIVE_CERT_NOT_VALID_FOR_ORIGIN, -368)
681 681
682 // Request is throttled because of a Backoff header. 682 // Request is throttled because of a Backoff header.
683 // See: crbug.com/486891. 683 // See: crbug.com/486891.
684 NET_ERROR(TEMPORARY_BACKOFF, -369) 684 NET_ERROR(TEMPORARY_BACKOFF, -369)
685 685
686 // The server was expected to return an HTTP/1.x response, but did not. Rather
687 // than treat it as HTTP/0.9, this error is returned.
688 NET_ERROR(INVALID_HTTP_RESPONSE, -370)
689
686 // The cache does not have the requested entry. 690 // The cache does not have the requested entry.
687 NET_ERROR(CACHE_MISS, -400) 691 NET_ERROR(CACHE_MISS, -400)
688 692
689 // Unable to read from the disk cache. 693 // Unable to read from the disk cache.
690 NET_ERROR(CACHE_READ_FAILURE, -401) 694 NET_ERROR(CACHE_READ_FAILURE, -401)
691 695
692 // Unable to write to the disk cache. 696 // Unable to write to the disk cache.
693 NET_ERROR(CACHE_WRITE_FAILURE, -402) 697 NET_ERROR(CACHE_WRITE_FAILURE, -402)
694 698
695 // The operation is not supported for this entry. 699 // The operation is not supported for this entry.
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 NET_ERROR(DNS_TIMED_OUT, -803) 840 NET_ERROR(DNS_TIMED_OUT, -803)
837 841
838 // The entry was not found in cache, for cache-only lookups. 842 // The entry was not found in cache, for cache-only lookups.
839 NET_ERROR(DNS_CACHE_MISS, -804) 843 NET_ERROR(DNS_CACHE_MISS, -804)
840 844
841 // Suffix search list rules prevent resolution of the given host name. 845 // Suffix search list rules prevent resolution of the given host name.
842 NET_ERROR(DNS_SEARCH_EMPTY, -805) 846 NET_ERROR(DNS_SEARCH_EMPTY, -805)
843 847
844 // Failed to sort addresses according to RFC3484. 848 // Failed to sort addresses according to RFC3484.
845 NET_ERROR(DNS_SORT_ERROR, -806) 849 NET_ERROR(DNS_SORT_ERROR, -806)
OLDNEW
« no previous file with comments | « components/error_page/common/localized_error.cc ('k') | net/http/http_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698