Classes | |
class | Build |
state and parameters shared by several ErrorState::compile*() methods More... | |
class | BuildErrorPrinter |
pretty-prints error page/deny_info building error More... | |
Functions | |
static std::ostream & | operator<< (std::ostream &os, const BuildErrorPrinter &context) |
static const char * | IsDenyInfoUri (const int page_id) |
static void | ImportStaticErrorText (const int page_id, const char *text, const SBuf &inputLocation) |
add error page template to the global index More... | |
static void | ValidateStaticError (const int page_id, const SBuf &inputLocation) |
validate static error page More... | |
Function Documentation
◆ ImportStaticErrorText()
|
static |
Definition at line 1545 of file errorpage.cc.
References assert, error_text, text, ValidateStaticError(), and xstrdup.
Referenced by errorInitialize().
◆ IsDenyInfoUri()
|
static |
- Returns
- deny_info URL if the given page is a deny_info page with a URL
- nullptr otherwise
Definition at line 253 of file errorpage.cc.
References ERR_MAX, error_page_count, and ErrorDynamicPages.
Referenced by ErrorState::BuildHttpReply(), and ErrorState::validate().
◆ operator<<()
|
inlinestatic |
Definition at line 140 of file errorpage.cc.
References ErrorPage::BuildErrorPrinter::print().
◆ ValidateStaticError()
Definition at line 1554 of file errorpage.cc.
References ErrorState::inputLocation, Http::scNone, and ErrorState::validate().
Referenced by errorInitialize(), and ImportStaticErrorText().
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products