Commit a41b9be3 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

add req.grace handling as well



git-svn-id: http://www.varnish-cache.org/svn/trunk@2845 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 2ed98880
# $Id$
test "VCL/VRT: obj.ttl and obj.grace"
test "VCL/VRT: req.grace, obj.ttl and obj.grace"
server s1 {
......@@ -11,9 +11,12 @@ server s1 {
server s1 -start
varnish v1 -vcl+backend {
sub vcl_recv {
set req.grace += 1 s;
}
sub vcl_fetch {
set obj.ttl += 1 m;
set obj.grace += 1 m;
set obj.grace += 1 h;
}
} -start
......
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