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