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

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

Issue 159904: Add a new net::Error value: ERR_CONNECTION_TIMED_OUT. (Closed)
Patch Set: Use MapConnectError() for asynchronous case too. Created 11 years, 4 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 | « chrome/renderer/render_view.cc ('k') | net/socket/tcp_client_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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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 contains the list of network errors. 5 // This file contains the list of network errors.
6 6
7 // An asynchronous IO operation is not yet complete. This usually does not 7 // An asynchronous IO operation is not yet complete. This usually does not
8 // indicate a fatal error. Typically this error will be generated as a 8 // indicate a fatal error. Typically this error will be generated as a
9 // notification to wait for some external notification that the IO operation 9 // notification to wait for some external notification that the IO operation
10 // finally completed. 10 // finally completed.
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // During SSL renegotiation (rehandshake), the server sent a certificate with 102 // During SSL renegotiation (rehandshake), the server sent a certificate with
103 // an error. 103 // an error.
104 // 104 //
105 // Note: this error is not in the -2xx range so that it won't be handled as a 105 // Note: this error is not in the -2xx range so that it won't be handled as a
106 // certificate error. 106 // certificate error.
107 NET_ERROR(CERT_ERROR_IN_SSL_RENEGOTIATION, -116) 107 NET_ERROR(CERT_ERROR_IN_SSL_RENEGOTIATION, -116)
108 108
109 // The SSL handshake failed because of a bad or missing client certificate. 109 // The SSL handshake failed because of a bad or missing client certificate.
110 NET_ERROR(BAD_SSL_CLIENT_AUTH_CERT, -117) 110 NET_ERROR(BAD_SSL_CLIENT_AUTH_CERT, -117)
111 111
112 // A connection attempt timed out.
113 NET_ERROR(CONNECTION_TIMED_OUT, -118)
114
112 // Certificate error codes 115 // Certificate error codes
113 // 116 //
114 // The values of certificate error codes must be consecutive. 117 // The values of certificate error codes must be consecutive.
115 118
116 // The server responded with a certificate whose common name did not match 119 // The server responded with a certificate whose common name did not match
117 // the host name. This could mean: 120 // the host name. This could mean:
118 // 121 //
119 // 1. An attacker has redirected our traffic to his server and is 122 // 1. An attacker has redirected our traffic to his server and is
120 // presenting a certificate for which he knows the private key. 123 // presenting a certificate for which he knows the private key.
121 // 124 //
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 261
259 // The network transaction factory of the cache was not able to create a new 262 // The network transaction factory of the cache was not able to create a new
260 // transaction. 263 // transaction.
261 NET_ERROR(CACHE_CANNOT_CREATE_NETWORK_TRANSACTION, -402) 264 NET_ERROR(CACHE_CANNOT_CREATE_NETWORK_TRANSACTION, -402)
262 265
263 // The operation is not supported for this entry. 266 // The operation is not supported for this entry.
264 NET_ERROR(CACHE_OPERATION_NOT_SUPPORTED, -403) 267 NET_ERROR(CACHE_OPERATION_NOT_SUPPORTED, -403)
265 268
266 // The server's response was insecure (e.g. there was a cert error). 269 // The server's response was insecure (e.g. there was a cert error).
267 NET_ERROR(INSECURE_RESPONSE, -501) 270 NET_ERROR(INSECURE_RESPONSE, -501)
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | net/socket/tcp_client_socket_libevent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698