Parser.h
static const CharacterSet & DelimiterCharacters()
Definition: Parser.cc:59
Parser & operator=(const Parser &)=default
Definition: forward.h:17
SBuf mimeHeader() const
buffer containing HTTP mime headers, excluding message first-line.
Definition: Parser.h:81
static const CharacterSet & WhitespaceCharacters()
Definition: Parser.cc:52
virtual bool parse(const SBuf &aBuf)=0
void skipLineTerminator(Tokenizer &) const
Definition: Parser.cc:66
bool grabMimeBlock(const char *which, const size_t limit)
Definition: Parser.cc:157
Definition: Tokenizer.h:29
const AnyP::ProtocolVersion & messageProtocol() const
the protocol label for this message
Definition: Parser.h:84
bool hackExpectsMime_
Whether the invalid HTTP as HTTP/0.9 hack expects a mime header block.
Definition: Parser.h:158
virtual size_type firstLineSize() const =0
size in bytes of the first line including CRLF terminator
AnyP::ProtocolVersion msgProtocol_
what protocol label has been found in the first line (if any)
Definition: Parser.h:152
Parser()=default
optimized set of C chars, with quick membership test and merge support
Definition: CharacterSet.h:17
int ErrorLevel()
the right debugs() level for logging HTTP violation messages
Definition: Parser.cc:269
Definition: ProtocolVersion.h:23
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