Commit 09c66ab6 authored by Geoff Simmons's avatar Geoff Simmons

Update for compatibility with Varnish 5.1.

parent 0e90b22c
Pipeline #148 skipped
...@@ -413,9 +413,9 @@ to a header, then the header will not be set. ...@@ -413,9 +413,9 @@ to a header, then the header will not be set.
REQUIREMENTS REQUIREMENTS
============ ============
This version of the VMOD requires at least Varnish version 5.0.0. (See This version of the VMOD requires Varnish since version 5.1. (See the
branch 4.1 in the project repository for versions that are compatible project repository for versions that are compatible with other
with Varnish since 4.1.2.) versions of Varnish.)
Perl 5 is required for the build. Perl 5 is required for the build.
...@@ -507,6 +507,8 @@ HISTORY ...@@ -507,6 +507,8 @@ HISTORY
* version 2.0: compatible with Varnish versions since 5.0.0 * version 2.0: compatible with Varnish versions since 5.0.0
* version 3.0: compatible with Varnish versions since 5.1
SEE ALSO SEE ALSO
======== ========
......
AC_PREREQ(2.59) AC_PREREQ(2.59)
AC_COPYRIGHT([Copyright (c) 2015-2016 UPLEX - Nils Goroll Systemoptimierung]) AC_COPYRIGHT([Copyright (c) 2015-2016 UPLEX - Nils Goroll Systemoptimierung])
AC_INIT([libvmod-blobcode], [2.0]) AC_INIT([libvmod-blobcode], [3.0])
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
m4_ifndef([VARNISH_VMOD_INCLUDES], AC_MSG_ERROR([Need varnish.m4 -- see README.rst])) m4_ifndef([VARNISH_VMOD_INCLUDES], AC_MSG_ERROR([Need varnish.m4 -- see README.rst]))
AC_CONFIG_SRCDIR(src/vmod_blobcode.vcc) AC_CONFIG_SRCDIR(src/vmod_blobcode.vcc)
......
...@@ -342,18 +342,18 @@ varnish v1 -vcl { ...@@ -342,18 +342,18 @@ varnish v1 -vcl {
} }
logexpect l1 -v v1 -d 0 -g vxid -q "VCL_Error" { logexpect l1 -v v1 -d 0 -g vxid -q "VCL_Error" {
expect 0 * Begin req expect 0 * Begin req
expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "0x123456"$} expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "0x123456"$}
expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "-_-_"$} expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "-_-_"$}
expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "\+/\+/"$} expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "\+/\+/"$}
expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "TWFu"$} expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "TWFu"$}
expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "_-_-"$} expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "_-_-"$}
expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "/\+/\+"$} expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "/\+/\+"$}
expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "Zm9v"$} expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "Zm9v"$}
expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "%"$} expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "%"$}
expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "%2"$} expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "%2"$}
expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "%q"$} expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "%q"$}
expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "%2q"$} expect * = VCL_Error {^vmod blobcode error: cannot decode, illegal encoding beginning with "%2q"$}
expect * = End expect * = End
} -start } -start
......
...@@ -341,9 +341,9 @@ to a header, then the header will not be set. ...@@ -341,9 +341,9 @@ to a header, then the header will not be set.
REQUIREMENTS REQUIREMENTS
============ ============
This version of the VMOD requires at least Varnish version 5.0.0. (See This version of the VMOD requires Varnish since version 5.1. (See the
branch 4.1 in the project repository for versions that are compatible project repository for versions that are compatible with other
with Varnish since 4.1.2.) versions of Varnish.)
Perl 5 is required for the build. Perl 5 is required for the build.
...@@ -435,6 +435,8 @@ HISTORY ...@@ -435,6 +435,8 @@ HISTORY
* version 2.0: compatible with Varnish versions since 5.0.0 * version 2.0: compatible with Varnish versions since 5.0.0
* version 3.0: compatible with Varnish versions since 5.1
SEE ALSO SEE ALSO
======== ========
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment