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

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

Issue 2789093003: Mark QUIC broken when the network blackholes after the handshake (Closed)
Patch Set: Rename mark_quic_broken_when_network_suspected to mark_quic_broken_when_network_blackholes Created 3 years, 8 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 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // Received HTTP status code 421 Misdirected Request (RFC7540 Section 9.1.2). 705 // Received HTTP status code 421 Misdirected Request (RFC7540 Section 9.1.2).
706 // The client MAY retry the request over a different connection. 706 // The client MAY retry the request over a different connection.
707 NET_ERROR(MISDIRECTED_REQUEST, -373) 707 NET_ERROR(MISDIRECTED_REQUEST, -373)
708 708
709 // There is a QUIC protocol error and QUIC has been marked as broken.
710 NET_ERROR(QUIC_BROKEN_ERROR, -374)
711
709 // The cache does not have the requested entry. 712 // The cache does not have the requested entry.
710 NET_ERROR(CACHE_MISS, -400) 713 NET_ERROR(CACHE_MISS, -400)
711 714
712 // Unable to read from the disk cache. 715 // Unable to read from the disk cache.
713 NET_ERROR(CACHE_READ_FAILURE, -401) 716 NET_ERROR(CACHE_READ_FAILURE, -401)
714 717
715 // Unable to write to the disk cache. 718 // Unable to write to the disk cache.
716 NET_ERROR(CACHE_WRITE_FAILURE, -402) 719 NET_ERROR(CACHE_WRITE_FAILURE, -402)
717 720
718 // The operation is not supported for this entry. 721 // The operation is not supported for this entry.
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 NET_ERROR(DNS_TIMED_OUT, -803) 862 NET_ERROR(DNS_TIMED_OUT, -803)
860 863
861 // The entry was not found in cache, for cache-only lookups. 864 // The entry was not found in cache, for cache-only lookups.
862 NET_ERROR(DNS_CACHE_MISS, -804) 865 NET_ERROR(DNS_CACHE_MISS, -804)
863 866
864 // Suffix search list rules prevent resolution of the given host name. 867 // Suffix search list rules prevent resolution of the given host name.
865 NET_ERROR(DNS_SEARCH_EMPTY, -805) 868 NET_ERROR(DNS_SEARCH_EMPTY, -805)
866 869
867 // Failed to sort addresses according to RFC3484. 870 // Failed to sort addresses according to RFC3484.
868 NET_ERROR(DNS_SORT_ERROR, -806) 871 NET_ERROR(DNS_SORT_ERROR, -806)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698