Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvdfp-pipe
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
libvdfp-pipe
Commits
f05e6bf8
Commit
f05e6bf8
authored
Aug 06, 2020
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VDP name defaults to the VCL object name.
parent
292fc6b8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
8 deletions
+6
-8
README.rst
README.rst
+2
-2
vdp.vtc
src/tests/vdp.vtc
+1
-1
vdfp_pipe.c
src/vdfp_pipe.c
+2
-4
vdfp_pipe.vcc
src/vdfp_pipe.vcc
+1
-1
No files found.
README.rst
View file @
f05e6bf8
...
...
@@ -56,8 +56,8 @@ XXX ...
.. _pipe.vdp():
new xvdp = pipe.vdp(STRING name, STRING path)
---------------------------------------------
new xvdp = pipe.vdp(STRING name
=0
, STRING path)
---------------------------------------------
--
XXX ...
...
...
src/tests/vdp.vtc
View file @
f05e6bf8
...
...
@@ -45,7 +45,7 @@ varnish v1 -vcl+backend {
import ${vmod_pipe};
sub vcl_init {
new cat = pipe.vdp(
name="cat",
path="${cat}");
new cat = pipe.vdp(path="${cat}");
}
sub vcl_backend_response {
...
...
src/vdfp_pipe.c
View file @
f05e6bf8
...
...
@@ -511,10 +511,8 @@ vmod_vdp__init(VRT_CTX, struct VPFX(pipe_vdp) **vdpp, const char *obj_name,
AZ
(
*
vdpp
);
AN
(
obj_name
);
if
(
vdp_name
==
NULL
||
*
vdp_name
==
'\0'
)
{
VDPFAIL
(
ctx
,
"new %s: filter name is empty"
,
obj_name
);
return
;
}
if
(
vdp_name
==
NULL
||
*
vdp_name
==
'\0'
)
vdp_name
=
strdup
(
obj_name
);
#define CHK_NAME(nm) do { \
if (strcmp(vdp_name, (nm)) == 0) { \
...
...
src/vdfp_pipe.vcc
View file @
f05e6bf8
...
...
@@ -50,7 +50,7 @@ external commands.
XXX ...
$Object vdp(STRING name, STRING path)
$Object vdp(STRING name
=0
, STRING path)
XXX ...
...
...
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