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
609c67d1
Commit
609c67d1
authored
Aug 27, 2012
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move another bit from diag_bitmap to debug
XXX: doc-update needed
parent
4dbf7e7f
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
16 additions
and
13 deletions
+16
-13
cache_shmlog.c
bin/varnishd/cache/cache_shmlog.c
+2
-2
mgt_param.c
bin/varnishd/mgt/mgt_param.c
+0
-1
e00008.vtc
bin/varnishtest/tests/e00008.vtc
+1
-1
e00019.vtc
bin/varnishtest/tests/e00019.vtc
+1
-1
e00023.vtc
bin/varnishtest/tests/e00023.vtc
+1
-1
e00024.vtc
bin/varnishtest/tests/e00024.vtc
+1
-1
e00026.vtc
bin/varnishtest/tests/e00026.vtc
+1
-1
g00004.vtc
bin/varnishtest/tests/g00004.vtc
+2
-1
r00433.vtc
bin/varnishtest/tests/r00433.vtc
+1
-1
r00466.vtc
bin/varnishtest/tests/r00466.vtc
+3
-1
r00942.vtc
bin/varnishtest/tests/r00942.vtc
+1
-1
debug_bits.h
include/tbl/debug_bits.h
+2
-1
No files found.
bin/varnishd/cache/cache_shmlog.c
View file @
609c67d1
...
@@ -240,7 +240,7 @@ wslr(struct vsl_log *vsl, enum VSL_tag_e tag, int id, txt t)
...
@@ -240,7 +240,7 @@ wslr(struct vsl_log *vsl, enum VSL_tag_e tag, int id, txt t)
vsl
->
wlp
=
VSL_END
(
vsl
->
wlp
,
l
);
vsl
->
wlp
=
VSL_END
(
vsl
->
wlp
,
l
);
assert
(
vsl
->
wlp
<
vsl
->
wle
);
assert
(
vsl
->
wlp
<
vsl
->
wle
);
vsl
->
wlr
++
;
vsl
->
wlr
++
;
if
(
cache_param
->
diag_bitmap
&
0x10000
)
if
(
DO_DEBUG
(
DBG_SYNCVSL
)
)
VSL_Flush
(
vsl
,
0
);
VSL_Flush
(
vsl
,
0
);
}
}
...
@@ -281,7 +281,7 @@ wsl(struct vsl_log *vsl, enum VSL_tag_e tag, int id, const char *fmt,
...
@@ -281,7 +281,7 @@ wsl(struct vsl_log *vsl, enum VSL_tag_e tag, int id, const char *fmt,
assert
(
vsl
->
wlp
<
vsl
->
wle
);
assert
(
vsl
->
wlp
<
vsl
->
wle
);
vsl
->
wlr
++
;
vsl
->
wlr
++
;
}
}
if
(
cache_param
->
diag_bitmap
&
0x10000
)
if
(
DO_DEBUG
(
DBG_SYNCVSL
)
)
VSL_Flush
(
vsl
,
0
);
VSL_Flush
(
vsl
,
0
);
}
}
...
...
bin/varnishd/mgt/mgt_param.c
View file @
609c67d1
...
@@ -1053,7 +1053,6 @@ static const struct parspec input_parspec[] = {
...
@@ -1053,7 +1053,6 @@ static const struct parspec input_parspec[] = {
" 0x00001000 - do not core-dump child process.
\n
"
" 0x00001000 - do not core-dump child process.
\n
"
" 0x00002000 - only short panic message.
\n
"
" 0x00002000 - only short panic message.
\n
"
" 0x00004000 - panic to stderr.
\n
"
" 0x00004000 - panic to stderr.
\n
"
" 0x00010000 - synchronize shmlog.
\n
"
" 0x00020000 - synchronous start of persistence.
\n
"
" 0x00020000 - synchronous start of persistence.
\n
"
" 0x00040000 - release VCL early.
\n
"
" 0x00040000 - release VCL early.
\n
"
" 0x00080000 - ban-lurker debugging.
\n
"
" 0x00080000 - ban-lurker debugging.
\n
"
...
...
bin/varnishtest/tests/e00008.vtc
View file @
609c67d1
...
@@ -63,7 +63,7 @@ varnish v1 -vcl+backend {
...
@@ -63,7 +63,7 @@ varnish v1 -vcl+backend {
varnish
v1
-cliok
"
param
.
set
esi_syntax
0x3e
"
varnish
v1
-cliok
"
param
.
set
esi_syntax
0x3e
"
varnish
v1
-cliok
"
param
.
set
d
iag_bitmap
0x10000
"
varnish
v1
-cliok
"
param
.
set
d
ebug
+
syncvsl
"
client
c1
{
client
c1
{
txreq
txreq
...
...
bin/varnishtest/tests/e00019.vtc
View file @
609c67d1
...
@@ -38,7 +38,7 @@ varnish v1 -vcl+backend {
...
@@ -38,7 +38,7 @@ varnish v1 -vcl+backend {
varnish v1 -cliok "param.set esi_syntax 8"
varnish v1 -cliok "param.set esi_syntax 8"
varnish v1 -cliok "param.set d
iag_bitmap 0x10000
"
varnish v1 -cliok "param.set d
ebug +syncvsl
"
client c1 {
client c1 {
txreq -url bar
txreq -url bar
...
...
bin/varnishtest/tests/e00023.vtc
View file @
609c67d1
...
@@ -44,7 +44,7 @@ varnish v1 -vcl+backend {
...
@@ -44,7 +44,7 @@ varnish v1 -vcl+backend {
varnish v1 -cliok "param.set http_gzip_support true"
varnish v1 -cliok "param.set http_gzip_support true"
varnish v1 -cliok "param.set esi_syntax 0x3e"
varnish v1 -cliok "param.set esi_syntax 0x3e"
varnish v1 -cliok "param.set d
iag_bitmap 0x10000
"
varnish v1 -cliok "param.set d
ebug +syncvsl
"
client c1 {
client c1 {
txreq -hdr "Accept-Encoding: gzip"
txreq -hdr "Accept-Encoding: gzip"
...
...
bin/varnishtest/tests/e00024.vtc
View file @
609c67d1
...
@@ -69,7 +69,7 @@ varnish v1 -vcl+backend {
...
@@ -69,7 +69,7 @@ varnish v1 -vcl+backend {
varnish v1 -cliok "param.set http_gzip_support true"
varnish v1 -cliok "param.set http_gzip_support true"
varnish v1 -cliok "param.set esi_syntax 0x3e"
varnish v1 -cliok "param.set esi_syntax 0x3e"
varnish v1 -cliok "param.set d
iag_bitmap 0x10000
"
varnish v1 -cliok "param.set d
ebug +syncvsl
"
client c1 {
client c1 {
txreq -hdr "Accept-Encoding: gzip"
txreq -hdr "Accept-Encoding: gzip"
...
...
bin/varnishtest/tests/e00026.vtc
View file @
609c67d1
...
@@ -37,7 +37,7 @@ varnish v1 -vcl+backend {
...
@@ -37,7 +37,7 @@ varnish v1 -vcl+backend {
varnish v1 -cliok "param.set esi_syntax 0x21"
varnish v1 -cliok "param.set esi_syntax 0x21"
varnish v1 -cliok "param.set d
iag_bitmap 0x10000
"
varnish v1 -cliok "param.set d
ebug +syncvsl
"
client c1 {
client c1 {
txreq -url /foo -hdr "Accept-Encoding: gzip"
txreq -url /foo -hdr "Accept-Encoding: gzip"
...
...
bin/varnishtest/tests/g00004.vtc
View file @
609c67d1
...
@@ -18,7 +18,6 @@ server s1 -repeat 2 {
...
@@ -18,7 +18,6 @@ server s1 -repeat 2 {
} -start
} -start
varnish v1 \
varnish v1 \
-arg {-p diag_bitmap=0x00010000} \
-vcl+backend {
-vcl+backend {
sub vcl_fetch {
sub vcl_fetch {
set beresp.do_stream = false;
set beresp.do_stream = false;
...
@@ -29,6 +28,8 @@ varnish v1 \
...
@@ -29,6 +28,8 @@ varnish v1 \
}
}
}
}
varnish v1 -cliok "param.set debug +syncvsl"
varnish v1 -start
varnish v1 -start
client c1 {
client c1 {
...
...
bin/varnishtest/tests/r00433.vtc
View file @
609c67d1
...
@@ -37,7 +37,7 @@ varnish v1 -vcl+backend {
...
@@ -37,7 +37,7 @@ varnish v1 -vcl+backend {
} -start
} -start
varnish v1 -cliok "param.set esi_syntax 4"
varnish v1 -cliok "param.set esi_syntax 4"
varnish v1 -cliok "param.set d
iag_bitmap 0x10000
"
varnish v1 -cliok "param.set d
ebug +syncvsl
"
varnish v1 -cliok "debug.fragfetch 32"
varnish v1 -cliok "debug.fragfetch 32"
client c1 {
client c1 {
...
...
bin/varnishtest/tests/r00466.vtc
View file @
609c67d1
...
@@ -23,7 +23,9 @@ varnish v1 -vcl+backend {
...
@@ -23,7 +23,9 @@ varnish v1 -vcl+backend {
return(pass);
return(pass);
}
}
}
}
} -start -cliok "param.set diag_bitmap 0x10000"
} -start
varnish v1 -cliok "param.set debug +syncvsl"
client c1 {
client c1 {
txreq -url "/foo" -hdr "Range: 100-200"
txreq -url "/foo" -hdr "Range: 100-200"
...
...
bin/varnishtest/tests/r00942.vtc
View file @
609c67d1
...
@@ -25,13 +25,13 @@ server s1 {
...
@@ -25,13 +25,13 @@ server s1 {
} -start
} -start
varnish v1 \
varnish v1 \
-arg {-p diag_bitmap=0x00010000} \
-vcl+backend {
-vcl+backend {
sub vcl_fetch {
sub vcl_fetch {
set beresp.do_stream = false;
set beresp.do_stream = false;
}
}
}
}
varnish v1 -cliok "param.set debug +syncvsl"
varnish v1 -start
varnish v1 -start
client c1 {
client c1 {
...
...
include/tbl/debug_bits.h
View file @
609c67d1
...
@@ -31,5 +31,6 @@
...
@@ -31,5 +31,6 @@
DEBUG_BIT
(
REQ_STATE
,
req_state
,
""
,
"VSL Request state engine"
)
DEBUG_BIT
(
REQ_STATE
,
req_state
,
""
,
"VSL Request state engine"
)
DEBUG_BIT
(
WORKSPACE
,
workspace
,
""
,
"VSL Workspace operations"
)
DEBUG_BIT
(
WORKSPACE
,
workspace
,
""
,
"VSL Workspace operations"
)
DEBUG_BIT
(
WAITER
,
waiter
,
"
"
,
"VSL Waiter internals"
)
DEBUG_BIT
(
WAITER
,
waiter
,
"
\t
"
,
"VSL Waiter internals"
)
DEBUG_BIT
(
WAITINGLIST
,
waitinglist
,
""
,
"VSL Waitinglist events"
)
DEBUG_BIT
(
WAITINGLIST
,
waitinglist
,
""
,
"VSL Waitinglist events"
)
DEBUG_BIT
(
SYNCVSL
,
syncvsl
,
"
\t
"
,
"Make VSL synchronous"
)
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