summaryrefslogtreecommitdiffabout
path: root/NEWS
AgeCommit message (Collapse)AuthorFiles
2019-02-15Version 2.5release-2.5Sergey Poznyakoff1
2019-02-13Implement two new flags and a special req.http header to indicate errorsSergey Poznyakoff1
* NEWS: Document changes. * doc/vmod-dbrw.3: Likewise. * doc/vmod-dbrw.texi: Likewise. * configure.ac: Version 2.4.90 * src/dbrw.h (dbrw_config): New member: match_type * src/vmod_dbrw.c (parse_flags): Handle "eq" and "regex" flags. (findmatch): Handle the "eq" flag. (do_rewrite): Return error code. (vmod_rewrite): Set the X-VMOD-DBRW-Error header on errors. * tests/atlocal.in (at_vcl_backend): Special handling for X-VMOD-DBRW-Error. * tests/initdb.at: Test the 'eq' flag. * tests/rewrite07.at: New testcase. * tests/Makefile.am: Add new testcase. * tests/testsuite.at: Likewise.
2018-12-10Version 2.4; Support for varnish 6.0.2release-2.4Sergey Poznyakoff1
2018-12-08Version 2.3release-2.3Sergey Poznyakoff1
* configure.ac: Bump version number. * NEWS: Describe new version. * doc/vmod-dbrw.3: Update version number. * doc/vmod-dbrw.texi: Document expansions.
2018-12-08Implement the $(urlprefixes) built-in function.Sergey Poznyakoff1
* NEWS: Update. * README: Update. * configure.ac: Version 2.2.91 * doc/vmod-dbrw.3: Document the use of $(urlprefixes) built-in * doc/vmod-dbrw.texi: Likewise. * src/vmod_dbrw.c (parse_flags): Make sure status string is null-terminated. (do_rewrite): Expand built-in functions in $(). Support urlprefixes. On debug_level=100, produce detailed trace of expansions. * src/wordsplit.c: Pull from grecs commit 9097d529. * src/wordsplit.h: Likewise. * tests/initdb.at (rewrite): Change the url column. * tests/rewrite01.at: Use $(urlprefixes) in the SQL templates. * tests/rewrite02.at: Likewise. * tests/rewrite03.at: Likewise. * tests/rewrite04.at: Likewise. * tests/rewrite05.at: Likewise. * tests/rewrite06.at: Likewise.
2018-01-30Introduce connection idle timeout.Sergey Poznyakoff1
* NEWS: Updated. * configure.ac: Version 2.2.90 * doc/vmod-dbrw.3: Document connection idle timeout. * doc/vmod-dbrw.texi: Likewise. * src/dbrw.h (dbrw_backend) <sql_idle_timeout>: New method. (dbrw_config)<idle_timeout>: New member. (dbrw_connection)<timestamp>: New member. (sql_idle_timeout): New proto. * src/mysql.c (vmod_mysql_data) <mysql>: Change storage. All uses changed. (s_mysql_idle_timeout): New function. * src/sql.c (sql_idle_timeout): New function. (sql_query): Update connection timestamp. (sql_idle_timeout): New function. * src/vmod_dbrw.c (dbrw_connection_get): Force disconnect if connection remained idle for too long. Initialize cfg->idle_timeout. (vmod_config): New parameter 'timeout='
2017-08-10Support for varnish 5.1.Sergey Poznyakoff1
* configure.ac: Set version 2.2 (AC_VMOD_BASENAME): New subst variable. * NEWS: Document changes. * README: Document changes. * acvmod: Updated. * tests/Makefile.am: Define AT_VMOD_BASENAME in package.m4 * tests/atlocal.in (at_vcl_backend): Start vtc with varnsishtest stanza
2017-08-05Version 2.1release-2.1Sergey Poznyakoff1
2017-08-05Switch to new acvmod. Remove the --with-varnish-source option. Fix the ↵Sergey Poznyakoff1
testsuite.
2016-01-24Fix typo in NEWSSergey Poznyakoff1
2016-01-23Varnish 4.1Sergey Poznyakoff1
* .gitmodules: New file. * acvmod: New submodule. * bootstrap: Update. * Makefile.am (ACLOCAL_AMFLAGS): Add acvmod * configure.ac: Use AM_VARNISHAPI instead of inlining the related code. Enable silent rules. Set version number 2.0.90-4.1.0 * src/Makefile.am: Enable silent rules. * tests/Makefile.am: Likewise. * tests/atlocal.in (at_vcl_backend): Remove conditional. * src/vmod_dbrw.c: Use event function. * src/vmod_dbrw.vcc: Likewise. * NEWS: Document changes.
2014-11-13Version 2.0release-2.0Sergey Poznyakoff1
2014-11-12Improve docs and testsuiteSergey Poznyakoff1
* NEWS: Update. * README: Update. * configure.ac: Update. * tests/initdb.at: Remove mysql-specific statements. * tests/initdb.c (trycreate, main): Rewrite postgres-specific parts. * tests/testsuite.at (AT_DBINIT_PREREQ): Throw xfail if FAILFILE exists. Exit immediately in that case.
2014-10-31Update copyright yearsSergey Poznyakoff1
2014-10-31Build for both v3 and v4Sergey Poznyakoff1
* NEWS: Update version number. * configure.ac: Version 1.9.90 (VARNISHVERSION): New variable. (VARNISH3,VARNISH4): New conditionals. * src/Makefile.am (nodist_libvmod_dbrw_la_SOURCES): New variable. (vmodtool,vmodtoolargs,vccfile): Define depending on Varnish version. (.vcc.vcc3): New rule (vcc_if.c vcc_if.h): Depend on $(vccfile) Don't distribute vcc_if.c and vcc_if.h. * src/vmod_dbrw.c: Provide data types and access macros depending on the version of Varnish.
2014-10-31Initial rewrite for Varnish 4.xSergey Poznyakoff1
* configure.ac: Check for include/vapi/vsm.h in varnish source tree. Change version number to 1.0.91-vcl4 * NEWS: Update version number. * src/Makefile.am (AM_CPPFLAGS): Add $(VARNISHSRC)/bin/varnishd (vmodtool,vmodtoolargs): New variables. (vcc_if.c vcc_if.h): Rewrite the rule. * src/vmod_dbrw.c: Include pthread.h Change path to cache.h (vmod_config,vmod_rewrite): Change declaration. (expand_backref,findmatch): Change declaration. Use WS_Copy instead of WS_Dup. * src/vmod_dbrw.vcc: Rewrite.
2014-10-31Update version numberSergey Poznyakoff1
2013-07-20Fix typos.release-1.0Sergey Poznyakoff1
2013-07-12Initial commitSergey Poznyakoff1

Return to:

Send suggestions and report system problems to the System administrator.