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
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:136
Definition: SquidString.h:26
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
struct SquidConfig::@110 onoff
optimized set of C chars, with quick membership test and merge support
Definition: CharacterSet.h:18
ContentLengthInterpreter()
Definition: ContentLengthInterpreter.cc:22
int strListGetItem(const String *str, char del, const char **item, int *ilen, const char **pos)
Definition: StrList.cc:86