|
Squid Web Cache master
|
Go to the source code of this file.
Classes | |
| class | ProtocolView |
| a reference to a protocol name[/version] string; no 0-termination is assumed More... | |
| class | HttpUpgradeProtocolAccess |
| Allows or blocks HTTP Upgrade protocols (see http_upgrade_request_protocols) More... | |
| class | HttpUpgradeProtocolAccess::NamedGuard |
| a single configured access rule for an explicitly named protocol More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &, const ProtocolView &) |
| bool | vAinB (const ProtocolView &a, const ProtocolView &b) |
| std::ostream & operator<< | ( | std::ostream & | os, |
| const ProtocolView & | view | ||
| ) |
Definition at line 31 of file HttpUpgradeProtocolAccess.cc.
References SBuf::isEmpty(), ProtocolView::name, and ProtocolView::version.
|
inline |
Either b has no version restrictions or both have the same version. For example, "ws/1" is in "ws" but "ws" is not in "ws/1".
Definition at line 38 of file HttpUpgradeProtocolAccess.h.
References SBuf::isEmpty(), and ProtocolView::version.
Referenced by HttpUpgradeProtocolAccess::forApplicable().