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

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

Issue 879723002: When receiving OOB data on a socket, return ERR_OOB_DATA. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/socket/socket_libevent.cc » ('j') | no next file with comments »
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 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 // The server's response was insecure (e.g. there was a cert error). 665 // The server's response was insecure (e.g. there was a cert error).
666 NET_ERROR(INSECURE_RESPONSE, -501) 666 NET_ERROR(INSECURE_RESPONSE, -501)
667 667
668 // The server responded to a <keygen> with a generated client cert that we 668 // The server responded to a <keygen> with a generated client cert that we
669 // don't have the matching private key for. 669 // don't have the matching private key for.
670 NET_ERROR(NO_PRIVATE_KEY_FOR_CERT, -502) 670 NET_ERROR(NO_PRIVATE_KEY_FOR_CERT, -502)
671 671
672 // An error adding to the OS certificate database (e.g. OS X Keychain). 672 // An error adding to the OS certificate database (e.g. OS X Keychain).
673 NET_ERROR(ADD_USER_CERT_FAILED, -503) 673 NET_ERROR(ADD_USER_CERT_FAILED, -503)
674 674
675 // An error indicating out-of-band data was received on a socket that does not
676 // support it.
677 NET_ERROR(OOB_DATA, -504)
678
675 // *** Code -600 is reserved (was FTP_PASV_COMMAND_FAILED). *** 679 // *** Code -600 is reserved (was FTP_PASV_COMMAND_FAILED). ***
676 680
677 // A generic error for failed FTP control connection command. 681 // A generic error for failed FTP control connection command.
678 // If possible, please use or add a more specific error code. 682 // If possible, please use or add a more specific error code.
679 NET_ERROR(FTP_FAILED, -601) 683 NET_ERROR(FTP_FAILED, -601)
680 684
681 // The server cannot fulfill the request at this point. This is a temporary 685 // The server cannot fulfill the request at this point. This is a temporary
682 // error. 686 // error.
683 // FTP response code 421. 687 // FTP response code 421.
684 NET_ERROR(FTP_SERVICE_UNAVAILABLE, -602) 688 NET_ERROR(FTP_SERVICE_UNAVAILABLE, -602)
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
775 NET_ERROR(DNS_TIMED_OUT, -803) 779 NET_ERROR(DNS_TIMED_OUT, -803)
776 780
777 // The entry was not found in cache, for cache-only lookups. 781 // The entry was not found in cache, for cache-only lookups.
778 NET_ERROR(DNS_CACHE_MISS, -804) 782 NET_ERROR(DNS_CACHE_MISS, -804)
779 783
780 // Suffix search list rules prevent resolution of the given host name. 784 // Suffix search list rules prevent resolution of the given host name.
781 NET_ERROR(DNS_SEARCH_EMPTY, -805) 785 NET_ERROR(DNS_SEARCH_EMPTY, -805)
782 786
783 // Failed to sort addresses according to RFC3484. 787 // Failed to sort addresses according to RFC3484.
784 NET_ERROR(DNS_SORT_ERROR, -806) 788 NET_ERROR(DNS_SORT_ERROR, -806)
OLDNEW
« no previous file with comments | « no previous file | net/socket/socket_libevent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698