source: include/shmlog_tags.h @ 8a27e66

Revision 8a27e66, 2.6 KB checked in by Poul-Henning Kamp <phk@…>, 5 years ago (diff)

Remove the client source address accounting, it is unused and a performance
bottleneck.

The original idea was anti-DoS measures along the lines of

sub vcl_recv {

if (client.bandwith > 1 mbit/s) {

delay (100 ms);

}

}

But there are does not seem to be a pressing need, wherefore it has
never been completed, and even if it was, it would not solve the
problem across a server farm.

git-svn-id:  http://www.varnish-cache.org/svn/trunk/varnish-cache@3884 d4fa192b-c00b-0410-8231-f00ffab90ce4

  • Property mode set to 100644
Line 
1/*-
2 * Copyright (c) 2006 Verdens Gang AS
3 * Copyright (c) 2006-2008 Linpro AS
4 * All rights reserved.
5 *
6 * Author: Poul-Henning Kamp <phk@phk.freebsd.dk>
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
11 * 1. Redistributions of source code must retain the above copyright
12 *    notice, this list of conditions and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the above copyright
14 *    notice, this list of conditions and the following disclaimer in the
15 *    documentation and/or other materials provided with the distribution.
16 *
17 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 * ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $Id$
30 *
31 * Define the tags in the shared memory in a reusable format.
32 * Whoever includes this get to define what the SLTM macro does.
33 *
34 * REMEMBER to update the documentation (especially the varnishlog(1) man
35 * page) whenever this list changes.
36 *
37 * XXX: Please add new entries a the end to not break saved log-segments.
38 * XXX: we can resort them when we have a major release.
39 */
40
41SLTM(Debug)
42SLTM(Error)
43SLTM(CLI)
44SLTM(StatSess)
45SLTM(ReqEnd)
46SLTM(SessionOpen)
47SLTM(SessionClose)
48SLTM(BackendOpen)
49SLTM(BackendXID)
50SLTM(BackendReuse)
51SLTM(BackendClose)
52SLTM(HttpError)
53SLTM(HttpGarbage)
54SLTM(ClientAddr)
55SLTM(Backend)
56SLTM(Length)
57
58SLTM(RxRequest)
59SLTM(RxResponse)
60SLTM(RxStatus)
61SLTM(RxURL)
62SLTM(RxProtocol)
63SLTM(RxHeader)
64
65SLTM(TxRequest)
66SLTM(TxResponse)
67SLTM(TxStatus)
68SLTM(TxURL)
69SLTM(TxProtocol)
70SLTM(TxHeader)
71
72SLTM(ObjRequest)
73SLTM(ObjResponse)
74SLTM(ObjStatus)
75SLTM(ObjURL)
76SLTM(ObjProtocol)
77SLTM(ObjHeader)
78
79SLTM(LostHeader)
80
81SLTM(TTL)
82SLTM(VCL_acl)
83SLTM(VCL_call)
84SLTM(VCL_trace)
85SLTM(VCL_return)
86SLTM(VCL_error)
87SLTM(VCL_info)
88SLTM(ReqStart)
89SLTM(Hit)
90SLTM(HitPass)
91SLTM(ExpBan)
92SLTM(ExpPick)
93SLTM(ExpKill)
94SLTM(WorkThread)
95SLTM(Terminate)
96
97SLTM(ESItrace)
98SLTM(ESI_xmlerror)
99
100SLTM(Hash)
101
102SLTM(Backend_health)
Note: See TracBrowser for help on using the repository browser.