]> git.ipfire.org Git - thirdparty/squid.git/blame - src/RequestFlags.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / RequestFlags.cc
CommitLineData
f206b652 1/*
4ac4a490 2 * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
f206b652 3 *
bbc27441
AJ
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.
f206b652
FC
7 */
8
bbc27441
AJ
9/* DEBUG: section 73 HTTP Request */
10
f206b652 11#include "squid.h"
f206b652
FC
12#include "RequestFlags.h"
13
450fe1cb
FC
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
f206b652
FC
17RequestFlags
18RequestFlags::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}
f53969cc 25