This looks like a relic from V3.
OK?
From 5df37483cb5836d63043b8b8324f0dc59d96d1eb Mon Sep 17 00:00:00 2001
From: "Federico G. Schwindt" <[email protected]>
Date: Mon, 27 Jul 2015 16:17:20 +0100
Subject: [PATCH 2/3] Kill unused session_max
---
bin/varnishd/common/params.h | 3 ---
bin/varnishd/mgt/mgt_param_tbl.c | 10 ----------
2 files changed, 13 deletions(-)
diff --git a/bin/varnishd/common/params.h b/bin/varnishd/common/params.h
index c8cd3a6..a5ee023 100644
--- a/bin/varnishd/common/params.h
+++ b/bin/varnishd/common/params.h
@@ -88,9 +88,6 @@ struct params {
/* Default keep period */
double default_keep;
- /* Maximum concurrent sessions */
- unsigned max_sess;
-
/* Worker threads and pool */
unsigned wthread_min;
unsigned wthread_max;
diff --git a/bin/varnishd/mgt/mgt_param_tbl.c b/bin/varnishd/mgt/mgt_param_tbl.c
index 9c07c55..559795f 100644
--- a/bin/varnishd/mgt/mgt_param_tbl.c
+++ b/bin/varnishd/mgt/mgt_param_tbl.c
@@ -331,16 +331,6 @@ struct parspec mgt_parspec[] = {
"have both IPv4 and IPv6 addresses.",
0,
"off", "bool" },
- { "session_max", tweak_uint,
- &mgt_param.max_sess,
- "1000", NULL,
- "Maximum number of sessions we will allocate from one pool "
- "before just dropping connections.\n"
- "This is mostly an anti-DoS measure, and setting it plenty "
- "high should not hurt, as long as you have the memory for "
- "it.",
- 0,
- "100000", "sessions" },
{ "timeout_linger", tweak_timeout, &mgt_param.timeout_linger,
"0", NULL,
"How long the worker thread lingers on an idle session "
--
2.1.4
_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev