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
a5fb7797
Unverified
Commit
a5fb7797
authored
Jun 10, 2020
by
Reza Naghibi
Committed by
Nils Goroll
Jun 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deprecate BackendReuse in favor of BackendClose
parent
0d4966b4
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
12 additions
and
11 deletions
+12
-11
cache_backend.c
bin/varnishd/cache/cache_backend.c
+1
-1
e00008.vtc
bin/varnishtest/tests/e00008.vtc
+3
-3
e00019.vtc
bin/varnishtest/tests/e00019.vtc
+1
-1
e00020.vtc
bin/varnishtest/tests/e00020.vtc
+1
-1
e00022.vtc
bin/varnishtest/tests/e00022.vtc
+1
-1
r00894.vtc
bin/varnishtest/tests/r00894.vtc
+1
-1
r01092.vtc
bin/varnishtest/tests/r01092.vtc
+1
-1
r01355.vtc
bin/varnishtest/tests/r01355.vtc
+2
-2
vsl_tags.h
include/tbl/vsl_tags.h
+1
-0
No files found.
bin/varnishd/cache/cache_backend.c
View file @
a5fb7797
...
...
@@ -242,7 +242,7 @@ vbe_dir_finish(VRT_CTX, VCL_BACKEND d)
Lck_Lock
(
&
bp
->
mtx
);
}
else
{
assert
(
PFD_State
(
pfd
)
==
PFD_STATE_USED
);
VSLb
(
bo
->
vsl
,
SLT_Backend
Reu
se
,
"%d %s"
,
*
PFD_Fd
(
pfd
),
VSLb
(
bo
->
vsl
,
SLT_Backend
Clo
se
,
"%d %s"
,
*
PFD_Fd
(
pfd
),
VRT_BACKEND_string
(
bp
->
director
));
Lck_Lock
(
&
bp
->
mtx
);
VSC_C_main
->
backend_recycle
++
;
...
...
bin/varnishtest/tests/e00008.vtc
View file @
a5fb7797
...
...
@@ -83,19 +83,19 @@ logexpect l1 -v v1 -g vxid {
expect 0 = ESI_xmlerror {^ERR after 665 ESI 1.0 </esi:include> illegal end-tag$}
expect 0 = ESI_xmlerror {^ERR after 767 XML 1.0 Missing end attribute delimiter$}
expect 0 = ESI_xmlerror {^ERR after 843 ESI 1.0 <esi:include> has whitespace in src= attribute$}
expect 0 = Backend
Reu
se
expect 0 = Backend
Clo
se
} -start
logexpect l2 -v v1 -g vxid {
expect * * BereqURL {^/body$}
expect * = ESI_xmlerror {^ERR after 30 VEP ended inside a tag$}
expect 0 = Backend
Reu
se
expect 0 = Backend
Clo
se
} -start
logexpect l3 -v v1 -g vxid {
expect * * BereqURL {^/body2$}
expect * = ESI_xmlerror {^ERR after 39 VEP ended inside a tag$}
expect 0 = Backend
Reu
se
expect 0 = Backend
Clo
se
} -start
varnish v1 -cliok "param.set debug +esi_chop"
...
...
bin/varnishtest/tests/e00019.vtc
View file @
a5fb7797
...
...
@@ -63,7 +63,7 @@ logexpect l1 -v v1 -g vxid -q "vxid == 1002" {
expect 0 = ESI_xmlerror {^WARN after 107 ESI 1.0 <esi:include> lacks final '/'$}
expect 0 = ESI_xmlerror {^ERR after 130 ESI 1.0 <esi:bogus> element$}
expect 0 = ESI_xmlerror {^ERR after 131837 VEP ended inside a tag$}
expect 0 = Backend
Reu
se
expect 0 = Backend
Clo
se
} -start
client c1 {
...
...
bin/varnishtest/tests/e00020.vtc
View file @
a5fb7797
...
...
@@ -27,7 +27,7 @@ logexpect l1 -v v1 -g vxid {
expect 0 = ESI_xmlerror {^ERR after 3 ESI 1.0 <esi:include> element nested in <esi:remove>$}
expect 0 = ESI_xmlerror {^ERR after 3 ESI 1.0 Nested <!--esi element in <esi:remove>$}
expect 0 = Gzip {^U}
expect 0 = Backend
Reu
se
expect 0 = Backend
Clo
se
} -start
client c1 {
...
...
bin/varnishtest/tests/e00022.vtc
View file @
a5fb7797
...
...
@@ -33,7 +33,7 @@ logexpect l1 -v v1 -g vxid {
expect 0 = ESI_xmlerror {^ERR after 24 ESI 1.0 Nested <!--esi element in <esi:remove>$}
expect 0 = Gzip {^G}
expect 0 = Gzip {^U}
expect 0 = Backend
Reu
se
expect 0 = Backend
Clo
se
} -start
client c1 {
...
...
bin/varnishtest/tests/r00894.vtc
View file @
a5fb7797
...
...
@@ -14,7 +14,7 @@ varnish v1 -vcl+backend {
logexpect l1 -v v1 -g raw {
expect * * Fetch_Body
expect 0 = ESI_xmlerror {^ERR after 5 ESI 1.0 <esi:include> has multiple src= attributes$}
expect 0 = Backend
Reu
se
expect 0 = Backend
Clo
se
} -start
client c1 {
...
...
bin/varnishtest/tests/r01092.vtc
View file @
a5fb7797
...
...
@@ -27,7 +27,7 @@ varnish v1 -vcl+backend {
logexpect l1 -v v1 -g raw {
expect * * Fetch_Body
expect 0 * ESI_xmlerror {^ERR after 66 ESI 1.0 Nested
<!--esi element in <esi:remove>$}
expect 0 = Backend
Reu
se
expect 0 = Backend
Clo
se
} -start
client c1 {
...
...
bin/varnishtest/tests/r01355.vtc
View file @
a5fb7797
...
...
@@ -24,11 +24,11 @@ varnish v1 -vcl+backend {
logexpect l1 -v v1 -g raw {
expect * * Fetch_Body
expect 0 = ESI_xmlerror {^No ESI processing, first char not '
<
'
but
BOM
.
.
See
feature
esi_remove_bom
.$}
expect
0 =
Backend
Reu
se
expect
0 =
Backend
Clo
se
#
XXX
another
logexpect
weirdness
-
why
can
'
t
we
catch
the
second
occurrence
?
#
expect
*
*
Fetch_Body
#
expect
0 =
ESI_xmlerror
{^
No
ESI
processing
,
first
char
not
'<'
but
BOM
.
.
See
feature
esi_remove_bom
.$}
#
expect
0 =
Backend
Reu
se
#
expect
0 =
Backend
Clo
se
}
-start
client
c1
{
...
...
include/tbl/vsl_tags.h
View file @
a5fb7797
...
...
@@ -126,6 +126,7 @@ SLTM(BackendReuse, 0, "Backend connection put up for reuse",
"
\t
| +- Backend display name
\n
"
"
\t
+---- Connection file descriptor
\n
"
"
\n
"
NOSUP_NOTICE
)
SLTM
(
BackendClose
,
0
,
"Backend connection closed"
,
...
...
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