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

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

Issue 4935001: Allow a non-200 (or non-407) response for a CONNECT request from an HTTPS pro... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Remove stray reference to connect_response_http_stream.h Created 10 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 NET_ERROR(NAME_RESOLUTION_FAILED, -137) 208 NET_ERROR(NAME_RESOLUTION_FAILED, -137)
209 209
210 // Permission to access the network was denied. This is used to distinguish 210 // Permission to access the network was denied. This is used to distinguish
211 // errors that were most likely caused by a firewall from other access denied 211 // errors that were most likely caused by a firewall from other access denied
212 // errors. See also ERR_ACCESS_DENIED. 212 // errors. See also ERR_ACCESS_DENIED.
213 NET_ERROR(NETWORK_ACCESS_DENIED, -138) 213 NET_ERROR(NETWORK_ACCESS_DENIED, -138)
214 214
215 // The request throttler module cancelled this request to avoid DDOS. 215 // The request throttler module cancelled this request to avoid DDOS.
216 NET_ERROR(TEMPORARILY_THROTTLED, -139) 216 NET_ERROR(TEMPORARILY_THROTTLED, -139)
217 217
218 // A request to create and SSL tunnel connection through the HTTPS proxy
vandebo (ex-Chrome) 2010/12/14 00:30:23 and->an
Ryan Hamilton 2010/12/15 20:14:17 Done.
219 // received a non-200 (OK) and non-407 (Proxy Auth) response. The response
220 // body might include a description of why the request failed.
221 NET_ERROR(HTTPS_PROXY_TUNNEL_CONNECTION_RESPONSE, -140)
222
218 // Certificate error codes 223 // Certificate error codes
219 // 224 //
220 // The values of certificate error codes must be consecutive. 225 // The values of certificate error codes must be consecutive.
221 226
222 // The server responded with a certificate whose common name did not match 227 // The server responded with a certificate whose common name did not match
223 // the host name. This could mean: 228 // the host name. This could mean:
224 // 229 //
225 // 1. An attacker has redirected our traffic to his server and is 230 // 1. An attacker has redirected our traffic to his server and is
226 // presenting a certificate for which he knows the private key. 231 // presenting a certificate for which he knows the private key.
227 // 232 //
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 // Import failed - certificate already exists in database. 509 // Import failed - certificate already exists in database.
505 // Note it's a little weird this is an error but reimporting a PKCS12 is ok 510 // Note it's a little weird this is an error but reimporting a PKCS12 is ok
506 // (no-op). That's how Mozilla does it, though. 511 // (no-op). That's how Mozilla does it, though.
507 NET_ERROR(IMPORT_CERT_ALREADY_EXISTS, -704) 512 NET_ERROR(IMPORT_CERT_ALREADY_EXISTS, -704)
508 513
509 // CA import failed due to some other error. 514 // CA import failed due to some other error.
510 NET_ERROR(IMPORT_CA_CERT_FAILED, -705) 515 NET_ERROR(IMPORT_CA_CERT_FAILED, -705)
511 516
512 // Server certificate import failed due to some internal error. 517 // Server certificate import failed due to some internal error.
513 NET_ERROR(IMPORT_SERVER_CERT_FAILED, -706) 518 NET_ERROR(IMPORT_SERVER_CERT_FAILED, -706)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698