ContentLengthInterpreter.cc
Go to the documentation of this file.
36 Http::ContentLengthInterpreter::findDigits(const char *prefix, const char * const valueEnd) const
79 debugs(55, debugLevel, "WARNING: Leading garbage or empty value in" << Raw("Content-Length", rawValue, valueSize));
101 debugs(55, debugLevel, "WARNING: Trailing garbage in" << Raw("Content-Length", rawValue, valueSize));
static const CharacterSet & DelimiterCharacters()
Definition: Parser.cc:59
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
struct SquidConfig::@97 onoff
static const CharacterSet & WhitespaceCharacters()
Definition: Parser.cc:52
const CharacterSet whitespace("whitespace"," \r\n")
bool httpHeaderParseOffset(const char *start, int64_t *value, char **endPtr)
Definition: HttpHeaderTools.cc:137
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
optimized set of C chars, with quick membership test and merge support
Definition: CharacterSet.h:17
ContentLengthInterpreter()
Definition: ContentLengthInterpreter.cc:22
int strListGetItem(const String *str, char del, const char **item, int *ilen, const char **pos)
Definition: StrList.cc:78
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