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
6db04b78
Commit
6db04b78
authored
Oct 14, 2016
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a no_stevedore function for testing
parent
3b9e09fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
vmod.vcc
lib/libvmod_debug/vmod.vcc
+4
-0
vmod_debug.c
lib/libvmod_debug/vmod_debug.c
+8
-0
No files found.
lib/libvmod_debug/vmod.vcc
View file @
6db04b78
...
...
@@ -71,6 +71,10 @@ $Function BACKEND no_backend()
Fails at backend selection
$Function STEVEDORE no_stevedore()
Fails at storage selection.
$Object obj(STRING string="default", ENUM { one, two, three } number="one")
Test object
...
...
lib/libvmod_debug/vmod_debug.c
View file @
6db04b78
...
...
@@ -184,6 +184,14 @@ vmod_no_backend(VRT_CTX)
return
(
NULL
);
}
VCL_STEVEDORE
__match_proto__
(
td_debug_no_stevedore
)
vmod_no_stevedore
(
VRT_CTX
)
{
CHECK_OBJ_NOTNULL
(
ctx
,
VRT_CTX_MAGIC
);
return
(
NULL
);
}
VCL_VOID
__match_proto__
(
td_debug_rot52
)
vmod_rot52
(
VRT_CTX
,
VCL_HTTP
hp
)
{
...
...
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