ContentLengthInterpreter.h
bool needsSanitizing
Definition: ContentLengthInterpreter.h:63
void applyTrailerRules()
prohibits Content-Length in GET/HEAD requests
Definition: ContentLengthInterpreter.h:42
bool goodSuffix(const char *suffix, const char *const end) const
checks whether all characters after the Content-Length are allowed
Definition: ContentLengthInterpreter.cc:53
bool checkField(const String &field)
Definition: ContentLengthInterpreter.cc:153
const char * findDigits(const char *prefix, const char *valueEnd) const
Definition: ContentLengthInterpreter.cc:36
void applyStatusCodeRules(const StatusCode code)
prohibits Content-Length in 1xx and 204 responses
Definition: ContentLengthInterpreter.h:31
Definition: forward.h:17
bool sawBad
whether a malformed Content-Length value was present
Definition: ContentLengthInterpreter.h:58
const char * prohibitedAndIgnored() const
Definition: ContentLengthInterpreter.h:47
Definition: SquidString.h:25
bool checkValue(const char *start, const int size)
Definition: ContentLengthInterpreter.cc:71
bool checkList(const String &list)
handles Content-Length: a, b, c
Definition: ContentLengthInterpreter.cc:129
bool ProhibitsContentLength(const StatusCode sc)
whether this response status code prohibits sending Content-Length
Definition: StatusCode.h:98
const char * headerWideProblem
worst header-wide problem found (or nil)
Definition: ContentLengthInterpreter.h:54
ContentLengthInterpreter()
Definition: ContentLengthInterpreter.cc:22
const char * prohibitedAndIgnored_
whether and why Content-Length is prohibited
Definition: ContentLengthInterpreter.h:77
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