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
63d19da4
Commit
63d19da4
authored
Mar 12, 2018
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve panic message in case #2592 happens again
parent
fee476ac
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
cache.h
bin/varnishd/cache/cache.h
+2
-2
cache_panic.c
bin/varnishd/cache/cache_panic.c
+1
-1
cache_http2_panic.c
bin/varnishd/http2/cache_http2_panic.c
+1
-0
No files found.
bin/varnishd/cache/cache.h
View file @
63d19da4
...
...
@@ -818,6 +818,6 @@ Tlen(const txt t)
do { \
if ((ptr)->magic != (exp)) \
VSB_printf((vsb), \
"MAGIC
0x%08x (Should:%s/0x%08x)\n",
\
(ptr)->magic, #exp, exp);
\
"MAGIC
at %p is 0x%08x (Should be: %s/0x%08x)\n",
\
ptr, (ptr)->magic, #exp, exp);
\
} while(0)
bin/varnishd/cache/cache_panic.c
View file @
63d19da4
...
...
@@ -118,7 +118,7 @@ sess_close_2str(enum sess_close sc, int want_desc)
/*--------------------------------------------------------------------*/
#define N_ALREADY
64
#define N_ALREADY
256
static
const
void
*
already_list
[
N_ALREADY
];
static
int
already_idx
;
...
...
bin/varnishd/http2/cache_http2_panic.c
View file @
63d19da4
...
...
@@ -48,6 +48,7 @@ h2_sess_panic(struct vsb *vsb, const struct sess *sp)
VSB_printf
(
vsb
,
"streams {
\n
"
);
VSB_indent
(
vsb
,
2
);
VTAILQ_FOREACH
(
r2
,
&
h2
->
streams
,
list
)
{
PAN_CheckMagic
(
vsb
,
r2
,
H2_REQ_MAGIC
);
VSB_printf
(
vsb
,
"0x%08x"
,
r2
->
stream
);
switch
(
r2
->
state
)
{
#define H2_STREAM(U,sd,d) case H2_S_##U: VSB_printf(vsb, " %-6s", sd); break;
...
...
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