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

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

Issue 21158: Fix a logic error in the handling the response to an HTTP... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | net/http/http_network_transaction.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-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 220
221 // The server closed the connection without sending any data. 221 // The server closed the connection without sending any data.
222 NET_ERROR(EMPTY_RESPONSE, -324) 222 NET_ERROR(EMPTY_RESPONSE, -324)
223 223
224 // The headers section of the response is too large. 224 // The headers section of the response is too large.
225 NET_ERROR(RESPONSE_HEADERS_TOO_BIG, -325) 225 NET_ERROR(RESPONSE_HEADERS_TOO_BIG, -325)
226 226
227 // The PAC requested by HTTP did not have a valid status code (non-200). 227 // The PAC requested by HTTP did not have a valid status code (non-200).
228 NET_ERROR(PAC_STATUS_NOT_OK, -326) 228 NET_ERROR(PAC_STATUS_NOT_OK, -326)
229 229
230 // The response was 401 (Unauthorized), yet the request was a CONNECT request
231 // to a proxy.
232 NET_ERROR(UNEXPECTED_SERVER_AUTH, -327)
233
230 // The cache does not have the requested entry. 234 // The cache does not have the requested entry.
231 NET_ERROR(CACHE_MISS, -400) 235 NET_ERROR(CACHE_MISS, -400)
232 236
233 // The server's response was insecure (e.g. there was a cert error). 237 // The server's response was insecure (e.g. there was a cert error).
234 NET_ERROR(INSECURE_RESPONSE, -501) 238 NET_ERROR(INSECURE_RESPONSE, -501)
235 239
OLDNEW
« no previous file with comments | « no previous file | net/http/http_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698