]> git.ipfire.org Git - thirdparty/squid.git/blob - src/RequestFlags.cc
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / RequestFlags.cc
1 /*
2 * Copyright (C) 1996-2021 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 /* DEBUG: section 73 HTTP Request */
10
11 #include "squid.h"
12 #include "RequestFlags.h"
13
14 // When adding new flags, please update cloneAdaptationImmune() as needed.
15 // returns a partial copy of the flags that includes only those flags
16 // that are safe for a related (e.g., ICAP-adapted) request to inherit
17 RequestFlags
18 RequestFlags::cloneAdaptationImmune() const
19 {
20 // At the time of writing, all flags where either safe to copy after
21 // adaptation or were not set at the time of the adaptation. If there
22 // are flags that are different, they should be cleared in the clone.
23 return *this;
24 }
25