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
4e3169c6
Commit
4e3169c6
authored
Mar 17, 2014
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dump some info on fetch_objcore during panics
parent
a4d1d5d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
cache_panic.c
bin/varnishd/cache/cache_panic.c
+15
-0
No files found.
bin/varnishd/cache/cache_panic.c
View file @
4e3169c6
...
...
@@ -227,6 +227,19 @@ pan_object(const char *typ, const struct object *o)
/*--------------------------------------------------------------------*/
static
void
pan_objcore
(
const
char
*
typ
,
const
struct
objcore
*
oc
)
{
VSB_printf
(
pan_vsp
,
" objcore (%s) = %p {
\n
"
,
typ
,
oc
);
VSB_printf
(
pan_vsp
,
" refcnt = %d
\n
"
,
oc
->
refcnt
);
VSB_printf
(
pan_vsp
,
" flags = 0x%x
\n
"
,
oc
->
flags
);
VSB_printf
(
pan_vsp
,
" objhead = %p
\n
"
,
oc
->
objhead
);
VSB_printf
(
pan_vsp
,
" }
\n
"
);
}
/*--------------------------------------------------------------------*/
static
void
pan_vcl
(
const
struct
VCL_conf
*
vcl
)
{
...
...
@@ -284,6 +297,8 @@ pan_busyobj(const struct busyobj *bo)
if
(
bo
->
beresp
->
ws
!=
NULL
)
pan_http
(
"beresp"
,
bo
->
beresp
,
4
);
pan_ws
(
bo
->
ws_o
,
4
);
if
(
bo
->
fetch_objcore
)
pan_objcore
(
"FETCH"
,
bo
->
fetch_objcore
);
if
(
bo
->
fetch_obj
)
pan_object
(
"FETCH"
,
bo
->
fetch_obj
);
if
(
bo
->
ims_obj
)
...
...
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