[experimental-ims] 4c2945d hit_for_pass in vcl_fetch
Geoff Simmons
geoff at varnish-cache.org
Wed Aug 31 16:02:28 CEST 2011
commit 4c2945dbcf1a8372ebed900f6998436b5d550199
Author: Per Buer <perbu at varnish-software.com>
Date: Wed Aug 17 10:10:07 2011 +0200
hit_for_pass in vcl_fetch
diff --git a/doc/sphinx/reference/vcl.rst b/doc/sphinx/reference/vcl.rst
index a16d7f5..c193e08 100644
--- a/doc/sphinx/reference/vcl.rst
+++ b/doc/sphinx/reference/vcl.rst
@@ -485,8 +485,12 @@ vcl_fetch
error code [reason]
Return the specified error code to the client and abandon the request.
- pass
- Switch to pass mode. Control will eventually pass to vcl_pass.
+ hit_for_pass
+ Pass in fetch. This will create a hit_for_pass object. Note that
+ the TTL for the hit_for_pass object will be set to what the
+ current value of beresp.ttl. Control will be handled to
+ vcl_deliver on the current request, but subsequent requests will
+ go directly to vcl_pass based on the hit_for_pass object.
restart
Restart the transaction. Increases the restart counter. If the number
More information about the varnish-commit
mailing list