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
885a7bcb
Unverified
Commit
885a7bcb
authored
Jan 11, 2021
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename shard_param_task -> shard_param_task_l
parent
3375af5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
vmod_directors_shard.c
vmod/vmod_directors_shard.c
+6
-6
No files found.
vmod/vmod_directors_shard.c
View file @
885a7bcb
...
...
@@ -159,7 +159,7 @@ shard_param_stack(struct vmod_directors_shard_param *p,
const
struct
vmod_directors_shard_param
*
pa
,
const
char
*
who
);
static
struct
vmod_directors_shard_param
*
shard_param_task
(
VRT_CTX
,
const
void
*
id
,
shard_param_task
_l
(
VRT_CTX
,
const
void
*
id
,
const
struct
vmod_directors_shard_param
*
pa
);
static
const
struct
vmod_directors_shard_param
*
...
...
@@ -609,7 +609,7 @@ vmod_shard_backend(VRT_CTX, struct vmod_directors_shard *vshard,
resolve
=
VENUM
(
NOW
);
if
(
ctx
->
method
&
SHARD_VCL_TASK_BEREQ
)
{
pp
=
shard_param_task
(
ctx
,
vshard
->
shardd
,
pp
=
shard_param_task
_l
(
ctx
,
vshard
->
shardd
,
vshard
->
shardd
->
param
);
if
(
pp
==
NULL
)
return
(
NULL
);
...
...
@@ -870,7 +870,7 @@ shard_param_stack(struct vmod_directors_shard_param *p,
* if id != pa and pa has VCL scope, also get a task scoped param struct for pa
*/
static
struct
vmod_directors_shard_param
*
shard_param_task
(
VRT_CTX
,
const
void
*
id
,
shard_param_task
_l
(
VRT_CTX
,
const
void
*
id
,
const
struct
vmod_directors_shard_param
*
pa
)
{
struct
vmod_directors_shard_param
*
p
;
...
...
@@ -908,7 +908,7 @@ shard_param_task(VRT_CTX, const void *id,
if
(
id
==
pa
||
pa
->
scope
!=
SCOPE_VCL
)
p
->
defaults
=
pa
;
else
p
->
defaults
=
shard_param_task
(
ctx
,
pa
,
pa
);
p
->
defaults
=
shard_param_task
_l
(
ctx
,
pa
,
pa
);
return
(
p
);
}
...
...
@@ -925,7 +925,7 @@ shard_param_prep(VRT_CTX, struct vmod_directors_shard_param *p,
"in vcl_init and in backend/pipe context"
,
who
);
return
(
NULL
);
}
else
if
(
ctx
->
method
&
SHARD_VCL_TASK_BEREQ
)
p
=
shard_param_task
(
ctx
,
p
,
p
);
p
=
shard_param_task
_l
(
ctx
,
p
,
p
);
else
assert
(
ctx
->
method
&
VCL_MET_TASK_H
);
...
...
@@ -970,7 +970,7 @@ vmod_shard_param_read(VRT_CTX, const void *id,
(
void
)
who
;
// XXX
if
(
ctx
->
method
==
0
||
(
ctx
->
method
&
SHARD_VCL_TASK_BEREQ
))
p
=
shard_param_task
(
ctx
,
id
,
p
);
p
=
shard_param_task
_l
(
ctx
,
id
,
p
);
if
(
p
==
NULL
)
return
(
NULL
);
...
...
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