Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
varnishevent
Commits
66f53cfc
Commit
66f53cfc
authored
Dec 12, 2016
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
require Varnish 5.0.0, and use the new VBM interface
parent
3b2d1cba
Pipeline
#92
skipped
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
9 deletions
+13
-9
README.rst
README.rst
+5
-5
configure.ac
configure.ac
+3
-3
format.c
src/format.c
+5
-1
No files found.
README.rst
View file @
66f53cfc
...
...
@@ -7,8 +7,8 @@ Display Varnish log contents in formats for client, backend and other events
----------------------------------------------------------------------------
:Author: Geoffrey Simmons
:Date: 2016-12-
09
:Version:
trunk
:Date: 2016-12-
12
:Version:
5.0.0
:Manual section: 1
...
...
@@ -375,9 +375,9 @@ precision.
REQUIREMENTS
============
This version of varnishevent requires Varnish
4.1.3 through 5.0.0.
See the project repository for versions that are compatible with other
versions of Varnish.
This version of varnishevent requires Varnish
5.0.0 (exactly that
version and no other). See the project repository for versions that
are compatible with other
versions of Varnish.
DATA BUFFERS
...
...
configure.ac
View file @
66f53cfc
AC_PREREQ(2.59)
AC_COPYRIGHT([Copyright (c) 2015 UPLEX Nils Goroll Systemoptimierung
Copyright (c) 2015 Otto Gmbh & Co KG])
AC_INIT([varnishevent], [
trunk
])
AC_INIT([varnishevent], [
5.0.0
])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR(src/varnishevent.h)
AM_CONFIG_HEADER(config.h)
...
...
@@ -52,8 +52,8 @@ AM_CONDITIONAL(HAVE_RST2HTML,[test "x$RST2HTML" != "xno"])
# Check for pkg-config
PKG_PROG_PKG_CONFIG
PKG_CHECK_MODULES([VARNISH], [varnishapi
>= 4.1.3 varnishapi <
= 5.0.0], [],
[AC_MSG_ERROR([Varnish
4.1.3 through
5.0.0 is required])])
PKG_CHECK_MODULES([VARNISH], [varnishapi = 5.0.0], [],
[AC_MSG_ERROR([Varnish 5.0.0 is required])])
AC_SUBST(VARNISH_CFLAGS)
AC_SUBST(VARNISH_LIBS)
PKG_CHECK_VAR([VARNISH_PKG_INCLUDE], [varnishapi], [pkgincludedir])
...
...
src/format.c
View file @
66f53cfc
...
...
@@ -1035,7 +1035,7 @@ compile_fmt(char * const format, compiled_fmt_t * const fmt,
fmt
->
args
[
i
].
hdr_idx
=
-
1
;
nonrecs_wanted
[
type
]
=
0
;
tag_no_hdr
[
type
]
=
vbit_
init
(
MAX_VSL_TAG
);
tag_no_hdr
[
type
]
=
vbit_
new
(
MAX_VSL_TAG
);
n
=
0
;
os
=
VSB_new_auto
();
...
...
@@ -1583,6 +1583,10 @@ FMT_Fini(void)
hdr_trie
[
i
]
=
NULL
;
}
for
(
int
i
=
0
;
i
<
VSL_t__MAX
;
i
++
)
if
(
tag_no_hdr
[
i
]
!=
NULL
)
vbit_destroy
(
tag_no_hdr
[
i
]);
if
(
!
VSB_EMPTY
(
config
.
cformat
))
free_format
(
&
cformat
);
if
(
!
VSB_EMPTY
(
config
.
bformat
))
...
...
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