Commit df36795d authored by Nils Goroll's avatar Nils Goroll

tabify

parent 14ff8ae8
...@@ -37,16 +37,16 @@ varnish v1 -vcl+backend { ...@@ -37,16 +37,16 @@ varnish v1 -vcl+backend {
sub vcl_recv { sub vcl_recv {
if(req.url == "/1") { if(req.url == "/1") {
set req.backend_hint = vd.backend_by_string("/eishoSu2"); set req.backend_hint = vd.backend_by_string("/eishoSu2");
} else if (req.url == "/2") { } else if (req.url == "/2") {
set req.backend_hint = vd.backend_by_string_hash("/eishoSu2", SHA256); set req.backend_hint = vd.backend_by_string_hash("/eishoSu2", SHA256);
} else if (req.url == "/3") { } else if (req.url == "/3") {
set req.http.X-Hash = "/oob3dahS"; set req.http.X-Hash = "/oob3dahS";
call recv_sub; call recv_sub;
} else if (req.url == "/null_by_string") { } else if (req.url == "/null_by_string") {
set req.backend_hint = vd.backend_by_string(req.http.NonExistent); set req.backend_hint = vd.backend_by_string(req.http.NonExistent);
} else if (req.url == "/null_by_string_hash") { } else if (req.url == "/null_by_string_hash") {
set req.backend_hint = vd.backend_by_string_hash(req.http.NonExistent, SHA256); set req.backend_hint = vd.backend_by_string_hash(req.http.NonExistent, SHA256);
} }
return(pass); return(pass);
} }
......
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