Commit 1faf5b48 authored by Geoff Simmons's avatar Geoff Simmons

get rid of some obsolete stuff

parent da4ed751
......@@ -153,7 +153,6 @@ CONF_Add(const char *lval, const char *rval)
confVSB("syslog.ident", syslog_ident);
confUnsigned("max.reclen", max_reclen);
confUnsigned("max.vcl_call", max_vcl_call);
confUnsigned("chunk_size", chunk_size);
confUnsigned("max.data", max_data);
confUnsigned("monitor.interval", monitor_interval);
......@@ -226,7 +225,6 @@ CONF_Init(void)
config.output_bufsiz = BUFSIZ;
config.max_reclen = DEFAULT_MAX_RECLEN;
config.max_vcl_call = DEFAULT_MAX_VCL_CALL;
config.max_data = DEFAULT_MAX_DATA;
config.chunk_size = DEFAULT_CHUNK_SIZE;
......@@ -338,7 +336,6 @@ CONF_Dump(void)
confdump("syslog.ident = %s", VSB_data(config.syslog_ident));
confdump("monitor.interval = %u", config.monitor_interval);
confdump("max.reclen = %u", config.max_reclen);
confdump("max.vcl_call = %u", config.max_vcl_call);
confdump("max.data = %u", config.max_data);
confdump("chunk.size = %u", config.chunk_size);
confdump("output.bufsiz = %u", config.output_bufsiz);
......
......@@ -53,15 +53,10 @@
#define EMPTY(s) (s[0] == '\0')
#define VSB_EMPTY(vsb) (VSB_len((vsb)) == 0)
/* Defaults from Varnish 4.0.3 */
#define DEFAULT_MAX_RECLEN 255 /* shm_reclen */
#define DEFAULT_MAX_HEADERS 64 /* http_max_hdr */
#define DEFAULT_MAX_VCL_CALL 10
#define DEFAULT_MAX_RECLEN 255 /* default vsl_reclen in Varnish 4.0.3 */
#define DEFAULT_CHUNK_SIZE 64
#define DEFAULT_MAX_DATA 4096
#define DEFAULT_PID_FILE "/var/run/varnishevent.pid"
#define MAX_VSL_TAG SLT__MAX
......@@ -193,13 +188,10 @@ struct config {
struct vsb *syslog_ident;
unsigned monitor_interval;
/* varnishd param shm_reclen */
/* varnishd param vsl_reclen */
unsigned max_reclen;
unsigned chunk_size;
unsigned max_vcl_call;
unsigned max_data;
size_t output_bufsiz;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment