vtest "VCL/VRT: req.max_age / beresp.ttl / beresp.grace"


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

server s1 -start

vinyl v1 -vcl+backend {
	sub vcl_recv {
		set req.max_age += 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

