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
f1fed55f
Commit
f1fed55f
authored
Mar 06, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
space efficiency ocd
parent
4caac952
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vdir.h
lib/libvmod_directors/vdir.h
+2
-2
No files found.
lib/libvmod_directors/vdir.h
View file @
f1fed55f
...
@@ -31,15 +31,15 @@ struct vbitmap;
...
@@ -31,15 +31,15 @@ struct vbitmap;
struct
vdir
{
struct
vdir
{
unsigned
magic
;
unsigned
magic
;
#define VDIR_MAGIC 0x99f4b726
#define VDIR_MAGIC 0x99f4b726
pthread_rwlock_t
mtx
;
unsigned
n_backend
;
unsigned
n_backend
;
unsigned
l_backend
;
unsigned
l_backend
;
unsigned
n_healthy
;
pthread_rwlock_t
mtx
;
VCL_BACKEND
*
backend
;
VCL_BACKEND
*
backend
;
double
*
weight
;
double
*
weight
;
double
total_weight
;
double
total_weight
;
VCL_BACKEND
dir
;
VCL_BACKEND
dir
;
struct
vbitmap
*
healthy
;
struct
vbitmap
*
healthy
;
unsigned
n_healthy
;
};
};
void
vdir_new
(
VRT_CTX
,
struct
vdir
**
vdp
,
const
char
*
vcl_name
,
void
vdir_new
(
VRT_CTX
,
struct
vdir
**
vdp
,
const
char
*
vcl_name
,
...
...
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