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

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

Issue 8863002: Revert 110505 - Report ERR_CONTENT_LENGTH_MISMATCH when the count of bytes received doesn't match... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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. 6 // inside a macro to generate enum.
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 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 // The HTTP response contained multiple Location headers. 511 // The HTTP response contained multiple Location headers.
512 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_LOCATION, -350) 512 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_LOCATION, -350)
513 513
514 // SPDY server refused the stream. Client should retry. This should never be a 514 // SPDY server refused the stream. Client should retry. This should never be a
515 // user-visible error. 515 // user-visible error.
516 NET_ERROR(SPDY_SERVER_REFUSED_STREAM, -351) 516 NET_ERROR(SPDY_SERVER_REFUSED_STREAM, -351)
517 517
518 // SPDY server didn't respond to the PING message. 518 // SPDY server didn't respond to the PING message.
519 NET_ERROR(SPDY_PING_FAILED, -352) 519 NET_ERROR(SPDY_PING_FAILED, -352)
520 520
521 // Content-Length does not match the number of bytes received.
522 NET_ERROR(CONTENT_LENGTH_MISMATCH, -353)
523
524 // The cache does not have the requested entry. 521 // The cache does not have the requested entry.
525 NET_ERROR(CACHE_MISS, -400) 522 NET_ERROR(CACHE_MISS, -400)
526 523
527 // Unable to read from the disk cache. 524 // Unable to read from the disk cache.
528 NET_ERROR(CACHE_READ_FAILURE, -401) 525 NET_ERROR(CACHE_READ_FAILURE, -401)
529 526
530 // Unable to write to the disk cache. 527 // Unable to write to the disk cache.
531 NET_ERROR(CACHE_WRITE_FAILURE, -402) 528 NET_ERROR(CACHE_WRITE_FAILURE, -402)
532 529
533 // The operation is not supported for this entry. 530 // The operation is not supported for this entry.
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 NET_ERROR(DNS_SERVER_FAILED, -802) 643 NET_ERROR(DNS_SERVER_FAILED, -802)
647 644
648 // DNS transaction timed out. 645 // DNS transaction timed out.
649 NET_ERROR(DNS_TIMED_OUT, -803) 646 NET_ERROR(DNS_TIMED_OUT, -803)
650 647
651 // The entry was not found in cache, for cache-only lookups. 648 // The entry was not found in cache, for cache-only lookups.
652 NET_ERROR(DNS_CACHE_MISS, -804) 649 NET_ERROR(DNS_CACHE_MISS, -804)
653 650
654 // FIXME: Take the next number. 651 // FIXME: Take the next number.
655 NET_ERROR(PIPELINE_EVICTION, -900) 652 NET_ERROR(PIPELINE_EVICTION, -900)
OLDNEW
« no previous file with comments | « content/browser/download/download_resource_handler.cc ('k') | net/http/http_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698