Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
06faac1b
Commit
06faac1b
authored
Jan 22, 2015
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define a debug bit to mark that we are running under varnishtest control
and always set it in varnishtest
parent
48d6d380
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
vtc_varnish.c
bin/varnishtest/vtc_varnish.c
+1
-0
debug_bits.h
include/tbl/debug_bits.h
+1
-0
No files found.
bin/varnishtest/vtc_varnish.c
View file @
06faac1b
...
...
@@ -390,6 +390,7 @@ varnish_launch(struct varnish *v)
VSB_printf
(
vsb
,
" -p syslog_cli_traffic=off"
);
VSB_printf
(
vsb
,
" -p sigsegv_handler=on"
);
VSB_printf
(
vsb
,
" -p thread_pool_min=10"
);
VSB_printf
(
vsb
,
" -p debug=+vtc_mode"
);
VSB_printf
(
vsb
,
" -a '%s'"
,
"127.0.0.1:0"
);
VSB_printf
(
vsb
,
" -M '%s %s'"
,
abuf
,
pbuf
);
VSB_printf
(
vsb
,
" -P %s/varnishd.pid"
,
v
->
workdir
);
...
...
include/tbl/debug_bits.h
View file @
06faac1b
...
...
@@ -39,3 +39,4 @@ DEBUG_BIT(VCLREL, vclrel, "Rapid VCL release")
DEBUG_BIT
(
LURKER
,
lurker
,
"VSL Ban lurker"
)
DEBUG_BIT
(
ESI_CHOP
,
esi_chop
,
"Chop ESI fetch to bits"
)
DEBUG_BIT
(
FLUSH_HEAD
,
flush_head
,
"Flush after http1 head"
)
DEBUG_BIT
(
VTC_MODE
,
vtc_mode
,
"Varnishtest Mode"
)
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