varnishtest "VCL/VRT: req.ttl / beresp.ttl / beresp.grace"


server s1 {
	rxreq
	txresp -hdr "Connection: close" -body "012345\n"
}

server s1 -start

varnish v1 -vcl+backend {
	sub vcl_recv {
		set req.ttl += 1 s;
	}
	sub vcl_backend_response {
		set beresp.ttl += 1 m;
		set beresp.grace += 1 h;
	}
} -start

client c1 {
	txreq -url "/"
	rxresp
	expect resp.status == 200
} -run

