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

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

Issue 227083002: Revert 261966 "make SetReceiveBufferSize and SetSendBufferSize r..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 | Annotate | Revision Log
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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 // The SSL server indicated that an unnecessary TLS version fallback was 306 // The SSL server indicated that an unnecessary TLS version fallback was
307 // performed. 307 // performed.
308 NET_ERROR(SSL_INAPPROPRIATE_FALLBACK, -157) 308 NET_ERROR(SSL_INAPPROPRIATE_FALLBACK, -157)
309 309
310 // Certificate Transparency: All Signed Certificate Timestamps failed to verify. 310 // Certificate Transparency: All Signed Certificate Timestamps failed to verify.
311 NET_ERROR(CT_NO_SCTS_VERIFIED_OK, -158) 311 NET_ERROR(CT_NO_SCTS_VERIFIED_OK, -158)
312 312
313 // The SSL server sent us a fatal unrecognized_name alert. 313 // The SSL server sent us a fatal unrecognized_name alert.
314 NET_ERROR(SSL_UNRECOGNIZED_NAME_ALERT, -159) 314 NET_ERROR(SSL_UNRECOGNIZED_NAME_ALERT, -159)
315 315
316 // Failed to set the socket's receive buffer size as requested. 316 // Failed to set or change the socket's receive buffer size as requested
317 NET_ERROR(SOCKET_SET_RECEIVE_BUFFER_SIZE_ERROR, -160) 317 NET_ERROR(SOCKET_SET_RECEIVE_BUFFER_SIZE_ERROR, -160)
318 318
319 // Failed to set the socket's send buffer size as requested. 319 // Failed to set or change the socket's send buffer size as requested.
320 NET_ERROR(SOCKET_SET_SEND_BUFFER_SIZE_ERROR, -161) 320 NET_ERROR(SOCKET_SET_SEND_BUFFER_SIZE_ERROR, -161)
321 321
322 // Failed to set the socket's receive buffer size as requested, despite success
323 // return code from setsockopt.
324 NET_ERROR(SOCKET_RECEIVE_BUFFER_SIZE_UNCHANGEABLE, -162)
325
326 // Failed to set the socket's send buffer size as requested, despite success
327 // return code from setsockopt.
328 NET_ERROR(SOCKET_SEND_BUFFER_SIZE_UNCHANGEABLE, -163)
329
330 // Certificate error codes 322 // Certificate error codes
331 // 323 //
332 // The values of certificate error codes must be consecutive. 324 // The values of certificate error codes must be consecutive.
333 325
334 // The server responded with a certificate whose common name did not match 326 // The server responded with a certificate whose common name did not match
335 // the host name. This could mean: 327 // the host name. This could mean:
336 // 328 //
337 // 1. An attacker has redirected our traffic to his server and is 329 // 1. An attacker has redirected our traffic to his server and is
338 // presenting a certificate for which he knows the private key. 330 // presenting a certificate for which he knows the private key.
339 // 331 //
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 NET_ERROR(DNS_TIMED_OUT, -803) 726 NET_ERROR(DNS_TIMED_OUT, -803)
735 727
736 // The entry was not found in cache, for cache-only lookups. 728 // The entry was not found in cache, for cache-only lookups.
737 NET_ERROR(DNS_CACHE_MISS, -804) 729 NET_ERROR(DNS_CACHE_MISS, -804)
738 730
739 // Suffix search list rules prevent resolution of the given host name. 731 // Suffix search list rules prevent resolution of the given host name.
740 NET_ERROR(DNS_SEARCH_EMPTY, -805) 732 NET_ERROR(DNS_SEARCH_EMPTY, -805)
741 733
742 // Failed to sort addresses according to RFC3484. 734 // Failed to sort addresses according to RFC3484.
743 NET_ERROR(DNS_SORT_ERROR, -806) 735 NET_ERROR(DNS_SORT_ERROR, -806)
OLDNEW
« no previous file with comments | « trunk/src/jingle/glue/pseudotcp_adapter_unittest.cc ('k') | trunk/src/net/dns/address_sorter_posix_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698