stub_HttpUpgradeProtocolAccess.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2022 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #include "squid.h"
10 #include "ConfigParser.h"
11 
12 #define STUB_API "HttpUpgradeProtocolAccess.cc"
13 #include "tests/STUB.h"
14 
16 ProtocolView::ProtocolView(const char * const, const size_t) STUB
18 std::ostream &operator <<(std::ostream &os, const ProtocolView &) STUB_RETVAL(os)
20 const acl_access *HttpUpgradeProtocolAccess::findGuard(const SBuf &) const STUB_RETVAL(nullptr)
21 void HttpUpgradeProtocolAccess::configureGuard(ConfigParser &) STUB
22 const SBuf HttpUpgradeProtocolAccess::ProtoOther("STUB-OTHER");
23 HttpUpgradeProtocolAccess::NamedGuard::~NamedGuard() STUB_NOP
24 HttpUpgradeProtocolAccess::NamedGuard::NamedGuard(const char *, acl_access *): protocol("STUB-UNDEF"), proto(protocol) STUB_NOP
25 
#define STUB_RETVAL(x)
Definition: STUB.h:41
a reference to a protocol name[/version] string; no 0-termination is assumed
Definition: SBuf.h:94
std::ostream & operator<<(std::ostream &o, const Acl::Answer a)
Definition: Acl.h:172
#define STUB
macro to stub a void function.
Definition: STUB.h:33
ProtocolView(const char *const start, const size_t len)
#define acl_access
Definition: forward.h:45
#define STUB_NOP
Definition: STUB.h:37
Allows or blocks HTTP Upgrade protocols (see http_upgrade_request_protocols)

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors