forward.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3 *
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.
7 */
8
9#ifndef _SQUID_SRC_ERROR_FORWARD_H
10#define _SQUID_SRC_ERROR_FORWARD_H
11
12#include "base/forward.h"
13
14typedef enum {
16
17 /* Access Permission Errors. Prefix new with ERR_ACCESS_ */
24
25 /* TCP Errors. */
33
34 /* DNS Errors */
37
38 /* HTTP Errors */
39 ERR_ONLY_IF_CACHED_MISS, /* failure to satisfy only-if-cached request */
42 ERR_UNSUP_HTTPVERSION, /* HTTP version is not supported */
49
50 /* FTP Errors */
57 ERR_FTP_PUT_CREATED, /* !error,a note that the file was created */
58 ERR_FTP_PUT_MODIFIED, /* modified, !created */
59
60 /* ESI Errors */
61 ERR_ESI, /* Failure to perform ESI processing */
62
63 /* ICAP Errors */
65
66 /* Squid problem */
68
69 /* Special Cases */
70 ERR_DIR_LISTING, /* Display of remote directory (FTP) */
71 ERR_SQUID_SIGNATURE, /* not really an error */
74
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
78
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
84
85 /* Cache Manager GUI can install a manager index/home page */
87
90
91class Error;
92class ErrorDetail;
93class ErrorState;
94
96
97#endif /* _SQUID_SRC_ERROR_FORWARD_H */
98
interface for supplying additional information about a transaction failure
Definition: Detail.h:21
a transaction problem
Definition: Error.h:27
err_type
Definition: forward.h:14
@ ERR_FTP_PUT_CREATED
Definition: forward.h:57
@ ERR_SECURE_ACCEPT_FAIL
Definition: forward.h:80
@ ERR_LIFETIME_EXP
Definition: forward.h:27
@ ERR_INVALID_RESP
Definition: forward.h:41
@ ERR_ACCESS_DENIED
Definition: forward.h:18
@ ERR_PROTOCOL_UNKNOWN
Definition: forward.h:73
@ ERR_FTP_UNAVAILABLE
Definition: forward.h:52
@ ERR_FTP_NOT_FOUND
Definition: forward.h:55
@ ERR_FTP_PUT_ERROR
Definition: forward.h:54
@ TCP_RESET
Definition: forward.h:77
@ ERR_CONNECT_FAIL
Definition: forward.h:30
@ ERR_SECURE_CONNECT_FAIL
Definition: forward.h:31
@ ERR_FTP_FORBIDDEN
Definition: forward.h:56
@ ERR_DNS_FAIL
Definition: forward.h:35
@ ERR_READ_TIMEOUT
Definition: forward.h:26
@ ERR_FORWARDING_DENIED
Definition: forward.h:21
@ ERR_FTP_FAILURE
Definition: forward.h:53
@ ERR_UNSUP_REQ
Definition: forward.h:44
@ ERR_GATEWAY_FAILURE
Definition: forward.h:67
@ ERR_MAX
Definition: forward.h:88
@ ERR_NONE
Definition: forward.h:15
@ ERR_CACHE_MGR_ACCESS_DENIED
Definition: forward.h:20
@ ERR_SOCKET_FAILURE
Definition: forward.h:32
@ ERR_ESI
Definition: forward.h:61
@ ERR_REQUEST_PARSE_TIMEOUT
Definition: forward.h:82
@ ERR_ICAP_FAILURE
Definition: forward.h:64
@ ERR_INVALID_URL
Definition: forward.h:45
@ ERR_SHUTTING_DOWN
Definition: forward.h:72
@ ERR_PRECONDITION_FAILED
Definition: forward.h:47
@ MGR_INDEX
Definition: forward.h:86
@ ERR_REQUEST_START_TIMEOUT
Definition: forward.h:81
@ ERR_CLIENT_GONE
Definition: forward.h:79
@ ERR_DIR_LISTING
Definition: forward.h:70
@ ERR_WRITE_ERROR
Definition: forward.h:29
@ ERR_FTP_DISABLED
Definition: forward.h:51
@ ERR_SQUID_SIGNATURE
Definition: forward.h:71
@ ERR_CONFLICT_HOST
Definition: forward.h:48
@ ERR_TOO_BIG
Definition: forward.h:40
@ ERR_ZERO_SIZE_OBJECT
Definition: forward.h:46
@ ERR_READ_ERROR
Definition: forward.h:28
@ ERR_NO_RELAY
Definition: forward.h:22
@ ERR_UNSUP_HTTPVERSION
Definition: forward.h:42
@ ERR_CANNOT_FORWARD
Definition: forward.h:23
@ ERR_CACHE_ACCESS_DENIED
Definition: forward.h:19
@ ERR_INVALID_REQ
Definition: forward.h:43
@ ERR_RELAY_REMOTE
Definition: forward.h:83
@ ERR_FTP_PUT_MODIFIED
Definition: forward.h:58
@ ERR_URN_RESOLVE
Definition: forward.h:36
@ ERR_ONLY_IF_CACHED_MISS
Definition: forward.h:39
RefCount< ErrorDetail > ErrorDetailPointer
Definition: forward.h:95

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors