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
35cadf11
Unverified
Commit
35cadf11
authored
Jan 18, 2021
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s:NULL backend:None backend:
parent
59d4d33f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
d00030.vtc
bin/varnishtest/tests/d00030.vtc
+1
-1
r02036.vtc
bin/varnishtest/tests/r02036.vtc
+1
-1
v00060.vtc
bin/varnishtest/tests/v00060.vtc
+1
-1
vmod_directors.c
vmod/vmod_directors.c
+2
-2
vmod_directors_shard.c
vmod/vmod_directors_shard.c
+1
-1
No files found.
bin/varnishtest/tests/d00030.vtc
View file @
35cadf11
...
...
@@ -185,7 +185,7 @@ varnish v1 -errvcl {vmod_directors: shard shard: .backend(resolve=NOW) can not b
}
}
varnish v1 -errvcl {vmod_directors: shard shard: N
ULL
backend cannot be added}{
varnish v1 -errvcl {vmod_directors: shard shard: N
one
backend cannot be added}{
import directors;
backend dummy None;
...
...
bin/varnishtest/tests/r02036.vtc
View file @
35cadf11
...
...
@@ -7,7 +7,7 @@ server s1 {
varnish v1 -vcl+backend {} -start
varnish v1 -errvcl "N
ULL
backend cannot be added" {
varnish v1 -errvcl "N
one
backend cannot be added" {
import directors;
probe cacheprobe {
...
...
bin/varnishtest/tests/v00060.vtc
View file @
35cadf11
varnishtest "N
ULL
backend allowed"
varnishtest "N
one
backend allowed"
server s1 {
rxreq
...
...
vmod/vmod_directors.c
View file @
35cadf11
...
...
@@ -137,7 +137,7 @@ vdir_add_backend(VRT_CTX, struct vdir *vd, VCL_BACKEND be, double weight)
CHECK_OBJ_NOTNULL
(
ctx
,
VRT_CTX_MAGIC
);
CHECK_OBJ_NOTNULL
(
vd
,
VDIR_MAGIC
);
if
(
be
==
NULL
)
{
VRT_fail
(
ctx
,
"%s: N
ULL
backend cannot be added"
,
VRT_fail
(
ctx
,
"%s: N
one
backend cannot be added"
,
VRT_BACKEND_string
(
vd
->
dir
));
return
;
}
...
...
@@ -160,7 +160,7 @@ vdir_remove_backend(VRT_CTX, struct vdir *vd, VCL_BACKEND be, unsigned *cur)
CHECK_OBJ_NOTNULL
(
ctx
,
VRT_CTX_MAGIC
);
CHECK_OBJ_NOTNULL
(
vd
,
VDIR_MAGIC
);
if
(
be
==
NULL
)
{
VRT_fail
(
ctx
,
"%s: N
ULL
backend cannot be removed"
,
VRT_fail
(
ctx
,
"%s: N
one
backend cannot be removed"
,
VRT_BACKEND_string
(
vd
->
dir
));
return
;
}
...
...
vmod/vmod_directors_shard.c
View file @
35cadf11
...
...
@@ -319,7 +319,7 @@ vmod_shard_add_backend(VRT_CTX, struct vmod_directors_shard *vshard,
if
(
args
->
backend
==
NULL
)
{
shard_fail
(
ctx
,
vshard
->
shardd
->
name
,
"%s"
,
"N
ULL
backend cannot be added"
);
"N
one
backend cannot be added"
);
return
(
0
);
}
...
...
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