Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
varnishevent
Commits
1faf5b48
Commit
1faf5b48
authored
Sep 24, 2015
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get rid of some obsolete stuff
parent
da4ed751
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
13 deletions
+2
-13
config.c
src/config.c
+0
-3
varnishevent.h
src/varnishevent.h
+2
-10
No files found.
src/config.c
View file @
1faf5b48
...
...
@@ -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
);
...
...
src/varnishevent.h
View file @
1faf5b48
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment