Commit 19d5f762 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

This test depends on the specific hash-key, which again

depends on the client-varnish connection happening over
127.0.0.1.  Fake it for jails and IPv6-oid hosts.
parent 9b8f6e21
......@@ -28,6 +28,12 @@ varnish v1 -vcl+backend {
key_blob=blob.decode(HEX, encoded="ffffffff00"));
}
sub vcl_hash {
hash_data(req.url);
hash_data("127.0.0.1");
return (lookup);
}
sub vcl_synth {
if (req.url == "/def") {
set resp.http.sha256 = shard.key(req.url);
......
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