[master] 452ac52 DuH!
Poul-Henning Kamp
phk at FreeBSD.org
Wed Dec 7 11:10:06 CET 2016
commit 452ac52177d17de08168c6fd514a346a9a92f302
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Dec 7 10:09:02 2016 +0000
DuH!
We already had a check that took care of this in an architecture
independent way.
diff --git a/bin/varnishtest/tests/c00005.vtc b/bin/varnishtest/tests/c00005.vtc
index b3b1e95..a3da9f6 100644
--- a/bin/varnishtest/tests/c00005.vtc
+++ b/bin/varnishtest/tests/c00005.vtc
@@ -9,6 +9,18 @@ server s1 {
txresp -body "2222\n"
} -start
+varnish v1 -errvcl {foo} {
+ sub vcl_recv {
+ if (client.ip ~ acl1) {
+ set req.url = "/";
+ }
+ }
+
+ backend acl1 {
+ .host = "127.0.0.1";
+ }
+}
+
varnish v1 -arg "-p vsl_mask=+VCL_trace" -vcl+backend {
sub vcl_recv {
if (client.ip ~ acl1) {
diff --git a/include/tbl/params.h b/include/tbl/params.h
index 4f30ea5..1cdecbb 100644
--- a/include/tbl/params.h
+++ b/include/tbl/params.h
@@ -1505,7 +1505,7 @@ PARAM(
/* name */ vsl_space,
/* typ */ bytes,
/* min */ "1M",
- /* max */ "4294967295", // 4G-1
+ /* max */ NULL,
/* default */ "80M",
/* units */ "bytes",
/* flags */ MUST_RESTART,
More information about the varnish-commit
mailing list