ContentLengthInterpreter.cc
Go to the documentation of this file.
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));
134 debugs(55, debugLevel, "WARNING: List-like" << Raw("Content-Length", list.rawBuf(), list.size()));
bool httpHeaderParseOffset(const char *start, int64_t *value, char **endPtr)
Definition: HttpHeaderTools.cc:137
int strListGetItem(const String *str, char del, const char **item, int *ilen, const char **pos)
Definition: StrList.cc:86
optimized set of C chars, with quick membership test and merge support
Definition: CharacterSet.h:18
const char * findDigits(const char *prefix, const char *valueEnd) const
Definition: ContentLengthInterpreter.cc:36
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 checkList(const String &list)
handles Content-Length: a, b, c
Definition: ContentLengthInterpreter.cc:129
ContentLengthInterpreter()
Definition: ContentLengthInterpreter.cc:22
bool checkField(const String &field)
Definition: ContentLengthInterpreter.cc:153
bool checkValue(const char *start, const int size)
Definition: ContentLengthInterpreter.cc:71
static const CharacterSet & WhitespaceCharacters()
Definition: Parser.cc:52
static const CharacterSet & DelimiterCharacters()
Definition: Parser.cc:59
struct SquidConfig::@106 onoff
Definition: SquidString.h:26
const CharacterSet whitespace("whitespace"," \r\n")