Commit 0c517d11 authored by Nils Goroll's avatar Nils Goroll

realworld.vtc: make br_recv more resilient

parent 74f7f279
......@@ -69,17 +69,16 @@ varnish v1 \
}
sub br_recv {
unset req.http.V-A-E;
if (local.socket == "self_plain") {
unset req.http.V-A-E;
unset req.http.O-A-E;
set req.hash_ignore_busy = true;
if (req.http.Is-Bgfetch == "true") {
set req.grace = 0s;
}
return (hash);
}
if (req.restarts == 0) {
} else if (req.restarts == 0) {
unset req.http.V-A-E;
unset req.http.O-A-E;
if (req.http.Accept-Encoding) {
set req.http.O-A-E = req.http.Accept-Encoding;
}
......
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