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
fb4b6d69
Commit
fb4b6d69
authored
Dec 04, 2018
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display the VCL syntax during a panic
parent
73289ed9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
cache_vcl.c
bin/varnishd/cache/cache_vcl.c
+1
-0
No files found.
bin/varnishd/cache/cache_vcl.c
View file @
fb4b6d69
...
...
@@ -211,6 +211,7 @@ VCL_Panic(struct vsb *vsb, const struct vcl *vcl)
VSB_printf
(
vsb
,
"conf = NULL
\n
"
);
}
else
{
PAN_CheckMagic
(
vsb
,
vcl
->
conf
,
VCL_CONF_MAGIC
);
VSB_printf
(
vsb
,
"syntax =
\"
%d
\"
,
\n
"
,
vcl
->
conf
->
syntax
);
VSB_printf
(
vsb
,
"srcname = {
\n
"
);
VSB_indent
(
vsb
,
2
);
for
(
i
=
0
;
i
<
vcl
->
conf
->
nsrc
;
++
i
)
...
...
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