OLD | NEW |
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 Loading... |
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 |
OLD | NEW |