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
4149d8bf
Commit
4149d8bf
authored
Sep 02, 2017
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure the panic string is empty
parent
b0339d14
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
cache_panic.c
bin/varnishd/cache/cache_panic.c
+1
-0
v00010.vtc
bin/varnishtest/tests/v00010.vtc
+3
-0
No files found.
bin/varnishd/cache/cache_panic.c
View file @
4149d8bf
...
...
@@ -700,5 +700,6 @@ PAN_Init(void)
VSB_printf
(
pan_vsb
,
"This is a test
\n
"
);
AZ
(
VSB_finish
(
pan_vsb
));
VSB_clear
(
pan_vsb
);
heritage
.
panic_str
[
0
]
=
'\0'
;
CLI_AddFuncs
(
debug_cmds
);
}
bin/varnishtest/tests/v00010.vtc
View file @
4149d8bf
...
...
@@ -39,6 +39,9 @@ varnish v1 -arg "-smalloc,1m" -vcl+backend {
}
} -start
varnish v1 -cliok "stop"
varnish v1 -cliok "start"
varnish v1 -expect MGT.child_panic == 0
varnish v1 -cliok "param.set feature +no_coredump"
client c1 {
...
...
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