|
Squid Web Cache master
|
Classes | |
| class | ErrorPageFile |
Macros | |
| #define | CVT_BUF_SZ 512 |
Functions | |
| static err_type & | operator++ (err_type &anErr) |
| static int | operator- (err_type const &anErr, err_type const &anErr2) |
| static const char * | errorFindHardText (err_type type) |
| static int | errorPageId (const char *page_name) |
| const char * | errorPageName (int pageId) |
| error ID to string | |
Variables | |
| static std::vector< ErrorDynamicPageInfo * > | ErrorDynamicPages |
| static char ** | error_text = nullptr |
| static int | error_page_count = 0 |
| static MemBuf | error_stylesheet |
These routines are used to generate error messages to be sent to clients. The error type is used to select between the various message formats. (formats are stored in the Config.errorDirectory)
| #define CVT_BUF_SZ 512 |
Definition at line 910 of file errorpage.cc.
|
static |
Definition at line 348 of file errorpage.cc.
References HardCodedErrors.
Referenced by errorInitialize().
|
static |
Definition at line 638 of file errorpage.cc.
References ERR_MAX, ERR_NONE, err_type_str, and ErrorDynamicPages.
Referenced by errorReservePageId().
| const char * errorPageName | ( | int | pageId | ) |
Definition at line 669 of file errorpage.cc.
References ERR_MAX, ERR_NONE, err_type_str, and ErrorDynamicPages.
Referenced by Format::Format::assemble(), ErrorState::BuildHttpReply(), ErrorState::compileLegacyCode(), ErrorState::Dump(), operator<<(), and Ftp::Server::writeErrorReply().
Definition at line 236 of file errorpage.cc.
References int.
Definition at line 245 of file errorpage.cc.
References int.
|
static |
Definition at line 209 of file errorpage.cc.
Referenced by ErrorState::buildBody(), errorClean(), errorInitialize(), ErrorPage::IsDenyInfoUri(), ErrorPage::BuildErrorPrinter::printLocation(), and ErrorState::validate().
|
static |
Definition at line 212 of file errorpage.cc.
Referenced by ErrorState::compileLegacyCode(), and errorInitialize().
|
static |
Definition at line 206 of file errorpage.cc.
Referenced by ErrorState::buildBody(), errorClean(), errorInitialize(), ErrorPage::ImportStaticErrorText(), and ErrorState::validate().
|
static |
Definition at line 201 of file errorpage.cc.
Referenced by ErrorState::ErrorState(), errorClean(), errorInitialize(), errorPageId(), errorPageName(), errorReservePageId(), ErrorPage::IsDenyInfoUri(), and ErrorPage::BuildErrorPrinter::printLocation().