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

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

Issue 2820163004: Retry request upon GOAWAY frame with NO_ERROR. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | net/spdy/spdy_network_transaction_unittest.cc » ('j') | net/spdy/spdy_session.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 // either a failure to retrieve the DHCP configuration, or that there was no 635 // either a failure to retrieve the DHCP configuration, or that there was no
636 // PAC URL configured in DHCP. 636 // PAC URL configured in DHCP.
637 NET_ERROR(PAC_NOT_IN_DHCP, -348) 637 NET_ERROR(PAC_NOT_IN_DHCP, -348)
638 638
639 // The HTTP response contained multiple Content-Disposition headers. 639 // The HTTP response contained multiple Content-Disposition headers.
640 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION, -349) 640 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION, -349)
641 641
642 // The HTTP response contained multiple Location headers. 642 // The HTTP response contained multiple Location headers.
643 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_LOCATION, -350) 643 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_LOCATION, -350)
644 644
645 // SPDY server refused the stream. Client should retry. This should never be a 645 // HTTP/2 server refused the request without processing, and sent either a
646 // user-visible error. 646 // GOAWAY frame with error code NO_ERROR and Last-Stream-ID lower than the
647 // stream id corresponding to the request indicating that this request has not
648 // been processed yet, or a RST_STREAM frame with error code REFUSED_STREAM.
649 // Client MAY retry (on a different connection). See RFC7540 Section 8.1.4.
Zhongyi Shi 2017/04/19 00:40:27 optional nit: there're two spaces before "See RFC7
Bence 2017/04/19 12:12:15 I usually write two spaces between sentences by de
Zhongyi Shi 2017/04/19 17:19:18 Acknowledged.
647 NET_ERROR(SPDY_SERVER_REFUSED_STREAM, -351) 650 NET_ERROR(SPDY_SERVER_REFUSED_STREAM, -351)
648 651
649 // SPDY server didn't respond to the PING message. 652 // SPDY server didn't respond to the PING message.
650 NET_ERROR(SPDY_PING_FAILED, -352) 653 NET_ERROR(SPDY_PING_FAILED, -352)
651 654
652 // Obsolete. Kept here to avoid reuse, as the old error can still appear on 655 // Obsolete. Kept here to avoid reuse, as the old error can still appear on
653 // histograms. 656 // histograms.
654 // NET_ERROR(PIPELINE_EVICTION, -353) 657 // NET_ERROR(PIPELINE_EVICTION, -353)
655 658
656 // The HTTP response body transferred fewer bytes than were advertised by the 659 // The HTTP response body transferred fewer bytes than were advertised by the
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 NET_ERROR(DNS_TIMED_OUT, -803) 876 NET_ERROR(DNS_TIMED_OUT, -803)
874 877
875 // The entry was not found in cache, for cache-only lookups. 878 // The entry was not found in cache, for cache-only lookups.
876 NET_ERROR(DNS_CACHE_MISS, -804) 879 NET_ERROR(DNS_CACHE_MISS, -804)
877 880
878 // Suffix search list rules prevent resolution of the given host name. 881 // Suffix search list rules prevent resolution of the given host name.
879 NET_ERROR(DNS_SEARCH_EMPTY, -805) 882 NET_ERROR(DNS_SEARCH_EMPTY, -805)
880 883
881 // Failed to sort addresses according to RFC3484. 884 // Failed to sort addresses according to RFC3484.
882 NET_ERROR(DNS_SORT_ERROR, -806) 885 NET_ERROR(DNS_SORT_ERROR, -806)
OLDNEW
« no previous file with comments | « no previous file | net/spdy/spdy_network_transaction_unittest.cc » ('j') | net/spdy/spdy_session.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698