HttpUpgradeProtocolAccess.cc
Go to the documentation of this file.
33std::ostream &
std::ostream & operator<<(std::ostream &os, const ProtocolView &view)
Definition: HttpUpgradeProtocolAccess.cc:34
void aclParseAccessLine(const char *directive, ConfigParser &, acl_access **treep)
Definition: Gadgets.cc:135
const char * cfg_directive
During parsing, the name of the current squid.conf directive being parsed.
Definition: cache_cf.cc:271
Definition: ConfigParser.h:46
NamedGuard(const char *rawProtocol, acl_access *)
Definition: HttpUpgradeProtocolAccess.cc:71
~NamedGuard()
Definition: HttpUpgradeProtocolAccess.cc:78
void configureGuard(ConfigParser &)
parses a single allow/deny rule
Definition: HttpUpgradeProtocolAccess.cc:50
~HttpUpgradeProtocolAccess()
Definition: HttpUpgradeProtocolAccess.cc:44
acl_access * other
OTHER rules governing unnamed protocols.
Definition: HttpUpgradeProtocolAccess.h:91
static const SBuf ProtoOther
pseudonym to specify rules for "all other protocols"
Definition: HttpUpgradeProtocolAccess.h:85
NamedGuards namedGuards
rules governing upgrades to explicitly named protocols
Definition: HttpUpgradeProtocolAccess.h:88
a reference to a protocol name[/version] string; no 0-termination is assumed
Definition: HttpUpgradeProtocolAccess.h:20
ProtocolView(const char *const start, const size_t len)
Definition: HttpUpgradeProtocolAccess.cc:22
SBuf version
everything after the name, including the slash('/')
Definition: HttpUpgradeProtocolAccess.h:26
SBuf name
everything up to (but excluding) the first slash('/')
Definition: HttpUpgradeProtocolAccess.h:25
int cmp(const SBuf &S, const size_type n) const
shorthand version for compare()
Definition: SBuf.h:275
SBuf ToSBuf(Args &&... args)
slowly stream-prints all arguments into a freshly allocated SBuf
Definition: Stream.h:63