2 * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
9 #ifndef _SQUID_SRC_ERROR_FORWARD_H
10 #define _SQUID_SRC_ERROR_FORWARD_H
12 #include "base/forward.h"
17 /* Access Permission Errors. Prefix new with ERR_ACCESS_ */
19 ERR_CACHE_ACCESS_DENIED
,
20 ERR_CACHE_MGR_ACCESS_DENIED
,
21 ERR_FORWARDING_DENIED
,
31 ERR_SECURE_CONNECT_FAIL
,
39 ERR_ONLY_IF_CACHED_MISS
, /* failure to satisfy only-if-cached request */
42 ERR_UNSUP_HTTPVERSION
, /* HTTP version is not supported */
47 ERR_PRECONDITION_FAILED
,
57 ERR_FTP_PUT_CREATED
, /* !error,a note that the file was created */
58 ERR_FTP_PUT_MODIFIED
, /* modified, !created */
61 ERR_ESI
, /* Failure to perform ESI processing */
70 ERR_DIR_LISTING
, /* Display of remote directory (FTP, Gopher) */
71 ERR_SQUID_SIGNATURE
, /* not really an error */
75 // NOTE: error types defined below TCP_RESET are optional and do not generate
76 // a log warning if the files are missing
77 TCP_RESET
, // Send TCP RST packet instead of error page
79 ERR_CLIENT_GONE
, // No client to send the error page to
80 ERR_SECURE_ACCEPT_FAIL
, // Rejects the SSL connection instead of error page
81 ERR_REQUEST_START_TIMEOUT
, // Aborts the connection instead of error page
82 ERR_REQUEST_PARSE_TIMEOUT
, // Aborts the connection instead of error page
83 ERR_RELAY_REMOTE
, // Sends server reply instead of error page
85 /* Cache Manager GUI can install a manager index/home page */
94 typedef RefCount
<ErrorDetail
> ErrorDetailPointer
;
96 #endif /* _SQUID_SRC_ERROR_FORWARD_H */