aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS6
m---------acvmod0
-rw-r--r--configure.ac6
-rw-r--r--doc/vmod-dbrw.38
-rw-r--r--src/vmod_dbrw.c6
5 files changed, 17 insertions, 9 deletions
diff --git a/NEWS b/NEWS
index 6fc931b..b54fe82 100644
--- a/NEWS
+++ b/NEWS
@@ -1,8 +1,12 @@
1vmod-dbrw -- history of user-visible changes. 2020-04-09 1vmod-dbrw -- history of user-visible changes. 2022-08-21
2See the end of file for copying conditions. 2See the end of file for copying conditions.
3 3
4Please send vmod-dbrw bug reports to <gray@gnu.org> 4Please send vmod-dbrw bug reports to <gray@gnu.org>
5 5
6Version 2.8, 2022-08-21
7
8* Support for Varnish 7.1
9
6Version 2.7, 2020-04-09 10Version 2.7, 2020-04-09
7 11
8* Drop support for Varnish versions prior to 6.0 12* Drop support for Varnish versions prior to 6.0
diff --git a/acvmod b/acvmod
Subproject 99b8dd21c7d1a91021b0a63c0d846ac35c4b009 Subproject 0516e2461e8f2e3b33a7fffa13705cdb1de77c5
diff --git a/configure.ac b/configure.ac
index 944d934..470d09b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
1# This file is part of vmod-dbrw -*- autoconf -*- 1# This file is part of vmod-dbrw -*- autoconf -*-
2# Copyright (C) 2013-2020 Sergey Poznyakoff 2# Copyright (C) 2013-2022 Sergey Poznyakoff
3# 3#
4# Vmod-dbrw is free software; you can redistribute it and/or modify 4# Vmod-dbrw is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by 5# it under the terms of the GNU General Public License as published by
@@ -14,7 +14,7 @@
14# You should have received a copy of the GNU General Public License 14# You should have received a copy of the GNU General Public License
15# along with vmod-dbrw. If not, see <http://www.gnu.org/licenses/>. 15# along with vmod-dbrw. If not, see <http://www.gnu.org/licenses/>.
16AC_PREREQ(2.69) 16AC_PREREQ(2.69)
17AC_INIT([vmod-dbrw], 2.7, [gray@gnu.org]) 17AC_INIT([vmod-dbrw], 2.8, [gray@gnu.org])
18AC_CONFIG_AUX_DIR([build-aux]) 18AC_CONFIG_AUX_DIR([build-aux])
19AC_CONFIG_MACRO_DIR([m4]) 19AC_CONFIG_MACRO_DIR([m4])
20AC_CONFIG_SRCDIR(src/vmod_dbrw.vcc) 20AC_CONFIG_SRCDIR(src/vmod_dbrw.vcc)
@@ -43,7 +43,7 @@ AC_PROG_MAKE_SET
43AC_HEADER_STDC 43AC_HEADER_STDC
44AC_CHECK_HEADERS([sys/stdlib.h]) 44AC_CHECK_HEADERS([sys/stdlib.h])
45 45
46AM_VARNISHAPI([6.0],[6.4.0]) 46AM_VARNISHAPI([6.0],[7.1.0])
47AC_DEFINE_UNQUOTED([VARNISHAPI_MAJOR],[$VARNISHAPI_MAJOR], 47AC_DEFINE_UNQUOTED([VARNISHAPI_MAJOR],[$VARNISHAPI_MAJOR],
48 [Varnish API major version number]) 48 [Varnish API major version number])
49 49
diff --git a/doc/vmod-dbrw.3 b/doc/vmod-dbrw.3
index 26422f1..023e215 100644
--- a/doc/vmod-dbrw.3
+++ b/doc/vmod-dbrw.3
@@ -1,5 +1,5 @@
1.\" This file is part of Vmod-dbrw -*- nroff -*- 1.\" This file is part of Vmod-dbrw -*- nroff -*-
2.\" Copyright (C) 2013-2020 Sergey Poznyakoff 2.\" Copyright (C) 2013-2022 Sergey Poznyakoff
3.\" 3.\"
4.\" Vmod-dbrw is free software; you can redistribute it and/or modify 4.\" Vmod-dbrw is free software; you can redistribute it and/or modify
5.\" it under the terms of the GNU General Public License as published by 5.\" it under the terms of the GNU General Public License as published by
@@ -13,7 +13,7 @@
13.\" 13.\"
14.\" You should have received a copy of the GNU General Public License 14.\" You should have received a copy of the GNU General Public License
15.\" along with vmod-dbrw. If not, see <http://www.gnu.org/licenses/>. 15.\" along with vmod-dbrw. If not, see <http://www.gnu.org/licenses/>.
16.TH VMOD-DBRW 3 "April 9, 2020" "VMOD-DBRW" "User Reference" 16.TH VMOD-DBRW 3 "August 21, 2022" "VMOD-DBRW" "User Reference"
17.SH NAME 17.SH NAME
18vmod-dbrw \- Database-driven rewrite rules for Varnish Cache 18vmod-dbrw \- Database-driven rewrite rules for Varnish Cache
19.SH SYNOPSIS 19.SH SYNOPSIS
@@ -318,7 +318,7 @@ sub vcl_synth {
318.\" for man-based doc pages. 318.\" for man-based doc pages.
319.if "\V[MANCGI]"WEBDOC" \{\ 319.if "\V[MANCGI]"WEBDOC" \{\
320. ds package vmod-dbrw 320. ds package vmod-dbrw
321. ds version 2.7 321. ds version 2.8
322. so download.inc 322. so download.inc
323\} 323\}
324.SH "SEE ALSO" 324.SH "SEE ALSO"
@@ -354,7 +354,7 @@ Sergey Poznyakoff
354.SH "BUG REPORTS" 354.SH "BUG REPORTS"
355Report bugs to <gray@gnu.org>. 355Report bugs to <gray@gnu.org>.
356.SH COPYRIGHT 356.SH COPYRIGHT
357Copyright \(co 2013-2020 Sergey Poznyakoff 357Copyright \(co 2013-2022 Sergey Poznyakoff
358.br 358.br
359.na 359.na
360License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 360License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
diff --git a/src/vmod_dbrw.c b/src/vmod_dbrw.c
index 3509d04..f6b6446 100644
--- a/src/vmod_dbrw.c
+++ b/src/vmod_dbrw.c
@@ -1,5 +1,5 @@
1/* This file is part of vmod-dbrw 1/* This file is part of vmod-dbrw
2 Copyright (C) 2013-2020 Sergey Poznyakoff 2 Copyright (C) 2013-2022 Sergey Poznyakoff
3 3
4 Vmod-dbrw is free software; you can redistribute it and/or modify 4 Vmod-dbrw is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
@@ -380,6 +380,10 @@ expand_backref(VRT_CTX, const char *str, const char *val,
380 380
381#define ISEMPTY(s) ((s) == NULL || (s)[0] == 0) 381#define ISEMPTY(s) ((s) == NULL || (s)[0] == 0)
382 382
383#if VARNISHAPI_MAJOR > 6
384# define vrt_magic_string_end 0
385#endif
386
383static void 387static void
384dbrw_sethdr(VRT_CTX, int where, const char *what, const char *value) 388dbrw_sethdr(VRT_CTX, int where, const char *what, const char *value)
385{ 389{

Return to:

Send suggestions and report system problems to the System administrator.