]> git.ipfire.org Git - thirdparty/squid.git/blame - src/acl/AnyOf.cc
Use ERR_ACCESS_DENIED for HTTP 403 (Forbidden) errors (#1899)
[thirdparty/squid.git] / src / acl / AnyOf.cc
CommitLineData
bbc27441 1/*
b8ae064d 2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
bbc27441
AJ
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
6f58d7d7
AR
9#include "squid.h"
10#include "acl/AnyOf.h"
11
12char const *
13Acl::AnyOf::typeString() const
14{
15 return "any-of";
16}
17
6f58d7d7
AR
18// called once per "acl name any-of name1 name2 ...." line
19// but since multiple lines are ORed, the line boundary does not matter,
20// so we flatten the tree into one line/level here to minimize overheads
21void
22Acl::AnyOf::parse()
23{
24 lineParse();
25}
f53969cc 26