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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 | 213 |
214 // The response was 407 (Proxy Authentication Required), yet we did not send | 214 // The response was 407 (Proxy Authentication Required), yet we did not send |
215 // the request to a proxy. | 215 // the request to a proxy. |
216 NET_ERROR(UNEXPECTED_PROXY_AUTH, -323) | 216 NET_ERROR(UNEXPECTED_PROXY_AUTH, -323) |
217 | 217 |
218 // The server closed the connection without sending any data. | 218 // The server closed the connection without sending any data. |
219 NET_ERROR(EMPTY_RESPONSE, -324) | 219 NET_ERROR(EMPTY_RESPONSE, -324) |
220 | 220 |
221 // The headers section of the response is too large. | 221 // The headers section of the response is too large. |
222 NET_ERROR(RESPONSE_HEADERS_TOO_BIG, -325) | 222 NET_ERROR(RESPONSE_HEADERS_TOO_BIG, -325) |
| 223 |
| 224 // The PAC requested by HTTP did not have a valid status code (non-200). |
| 225 NET_ERROR(PAC_STATUS_NOT_OK, -326) |
223 | 226 |
224 // The cache does not have the requested entry. | 227 // The cache does not have the requested entry. |
225 NET_ERROR(CACHE_MISS, -400) | 228 NET_ERROR(CACHE_MISS, -400) |
226 | 229 |
227 // The server's response was insecure (e.g. there was a cert error). | 230 // The server's response was insecure (e.g. there was a cert error). |
228 NET_ERROR(INSECURE_RESPONSE, -501) | 231 NET_ERROR(INSECURE_RESPONSE, -501) |
229 | 232 |
OLD | NEW |