Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
53bc920f
Commit
53bc920f
authored
Jan 12, 2021
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unbreak this test, which tests a fine point of ACL compilation
which does not depend on ipv4/ipv6
parent
cf7304c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
r01312.vtc
bin/varnishtest/tests/r01312.vtc
+2
-5
No files found.
bin/varnishtest/tests/r01312.vtc
View file @
53bc920f
varnishtest "acl miscompile"
# this test only works if we know a network prefix of localhost
feature ipv4
server s1 {
rxreq
txresp
...
...
@@ -20,8 +17,8 @@ varnish v1 -vcl+backend {
"127.0.1"/19;
}
sub vcl_deliver {
set resp.http.ACLfoo = std.ip("
${localhost}
", client.ip) ~ foo;
set resp.http.ACLbar = std.ip("
${localhost}
", client.ip) ~ bar;
set resp.http.ACLfoo = std.ip("
127.0.0.1
", client.ip) ~ foo;
set resp.http.ACLbar = std.ip("
127.0.0.1
", client.ip) ~ bar;
}
} -start
...
...
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