Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-cluster
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-cluster
Commits
ddf2b04a
Commit
ddf2b04a
authored
Mar 13, 2019
by
Nils Goroll
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Detect VRT_DirectorResolve in varnish-cache
parent
31cecd8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
configure.ac
configure.ac
+6
-0
vmod_cluster.c
src/vmod_cluster.c
+2
-2
No files found.
configure.ac
View file @
ddf2b04a
...
...
@@ -26,6 +26,12 @@ AC_CONFIG_FILES([
src/Makefile
])
save_CFLAGS="${CFLAGS}"
CFLAGS="${VARNISHAPI_CFLAGS}"
AC_CHECK_DECLS([VRT_DirectorResolve], [], [], [[#include "vdef.h"
#include "vrt.h"]])
CFLAGS="${save_CFLAGS}"
AC_OUTPUT
AS_ECHO("
...
...
src/vmod_cluster.c
View file @
ddf2b04a
...
...
@@ -42,7 +42,7 @@
* workaround missing VRT_DirectorResolve
* Ref https://github.com/varnishcache/varnish-cache/pull/2680
*/
#ifndef HAVE_DECL_VRT_DIRECTORRESOLVE
#include <cache/cache_director.h>
static
VCL_BACKEND
...
...
@@ -60,7 +60,7 @@ VRT_DirectorResolve(VRT_CTX, VCL_BACKEND d)
AN
(
d
->
vdir
);
return
(
d
);
}
#endif
/* ------------------------------------------------------------
*/
...
...
Nils Goroll
@slink
mentioned in commit
2dc864c5
·
May 30, 2019
mentioned in commit
2dc864c5
mentioned in commit 2dc864c57b5970b3ff1441db86a943b246ec581c
Toggle commit list
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