[master] cda2ecf Error is gone.
Per Buer
perbu at varnish-software.com
Thu Mar 20 11:46:59 CET 2014
commit cda2ecfae0eb12328d613be2d9bfcc9f6b953ee0
Author: Per Buer <perbu at varnish-software.com>
Date: Thu Mar 20 11:29:46 2014 +0100
Error is gone.
diff --git a/doc/sphinx/users-guide/vcl-built-in-subs.rst b/doc/sphinx/users-guide/vcl-built-in-subs.rst
index f71dfc1..4772374 100644
--- a/doc/sphinx/users-guide/vcl-built-in-subs.rst
+++ b/doc/sphinx/users-guide/vcl-built-in-subs.rst
@@ -93,7 +93,7 @@ Called is a cache lookup is successful.
deliver
Deliver the object. Control passes to vcl_deliver.
- error [reason]
+ synth(error code, reason)
Return the specified error code to the client and abandon the request.
@@ -107,7 +107,7 @@ retrieve the document from the backend, and which backend to use.
The vcl_miss subroutine may terminate with calling return() with one
of the following keywords:
- error [reason]
+ synth(error code, reason)
Return the specified error code to the client and abandon the request.
pass
@@ -124,21 +124,19 @@ Called after vcl_recv to create a hash value for the request. This is
used as a key to look up the object in Varnish.
lookup
- Look up the object in cache.
+ Look up the object in cache. Control passes to vcl_miss, vcl_hit
+ or vcl_purge.
+
+
vcl_purge
~~~~~~~~~
-Purge the object and all it's variants. Variants created when the
-backend issues a Vary response.
-
- fetch
- Execute the purge.
+Called after the purge has been executed and all it's variant have been evited.
- error
- Fail the purge request. Typically you would call error here it
- request doesn't pass the ACLs.
+ synth
+ Produce a response.
More information about the varnish-commit
mailing list