]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/HttpHeaderFieldStat.h
2 * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
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.
9 #ifndef SQUID_HTTPHEADERFIELDSTAT_H_
10 #define SQUID_HTTPHEADERFIELDSTAT_H_
12 /// per field statistics. Currently a POD.
13 class HttpHeaderFieldStat
16 HttpHeaderFieldStat() : aliveCount(0), seenCount(0), parsCount(0), errCount(0), repCount(0) {}
18 int aliveCount
; /* created but not destroyed (count) */
19 int seenCount
; /* number of fields we've seen */
20 int parsCount
; /* number of parsing attempts */
21 int errCount
; /* number of pasring errors */
22 int repCount
; /* number of repetitons */
25 #endif /* SQUID_HTTPHEADERFIELDSTAT_H_ */