Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-all_healthy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-all_healthy
Commits
92342970
Commit
92342970
authored
Aug 13, 2018
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
polish
parent
52e381f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
vmod_all_healthy.c
src/vmod_all_healthy.c
+4
-2
No files found.
src/vmod_all_healthy.c
View file @
92342970
...
...
@@ -202,6 +202,7 @@ vmod_director_healthy(VRT_CTX, VCL_BACKEND b, VCL_TIME *t)
int
i
;
VCL_BOOL
br
,
r
=
1
;
VCL_TIME
bt
,
tt
[
2
];
VCL_BACKEND
be
;
CHECK_OBJ_NOTNULL
(
ctx
,
VRT_CTX_MAGIC
);
CAST_OBJ_NOTNULL
(
d
,
b
->
priv
,
VMOD_ALL_HEALTHY_DIRECTOR_MAGIC
);
...
...
@@ -212,8 +213,9 @@ vmod_director_healthy(VRT_CTX, VCL_BACKEND b, VCL_TIME *t)
}
for
(
i
=
0
;
i
<
d
->
nconsider
;
i
++
)
{
CHECK_OBJ_NOTNULL
(
d
->
consider
[
i
],
DIRECTOR_MAGIC
);
br
=
!!
VRT_Healthy
(
ctx
,
d
->
consider
[
i
],
&
bt
);
be
=
d
->
consider
[
i
];
CHECK_OBJ_NOTNULL
(
be
,
DIRECTOR_MAGIC
);
br
=
!!
VRT_Healthy
(
ctx
,
be
,
&
bt
);
r
&=
br
;
if
(
t
)
{
if
(
r
&&
br
)
{
...
...
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