[master] 1fbe580 Move vcl_hash close to vcl_recv

Federico G. Schwindt fgsch at lodoss.net
Mon Feb 17 13:28:55 CET 2014


commit 1fbe580804e0c58f5f541082b049c9a27d0187ac
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Mon Feb 17 12:28:17 2014 +0000

    Move vcl_hash close to vcl_recv

diff --git a/doc/sphinx/reference/vcl.rst b/doc/sphinx/reference/vcl.rst
index 7e00e43..8cb7439 100644
--- a/doc/sphinx/reference/vcl.rst
+++ b/doc/sphinx/reference/vcl.rst
@@ -415,6 +415,15 @@ vcl_recv
   purge
     ?
 
+vcl_hash
+  You may call hash_data() on the data you would like to add to the hash.
+
+  The vcl_hash subroutine may terminate with calling return() with one of
+  the following keywords:
+
+  lookup
+    Proceed.
+
 vcl_pass
   Called upon entering pass mode.  In this mode, the request is passed
   on to the backend, and the backend's response is passed on to the
@@ -462,15 +471,6 @@ vcl_purge
 ..  fetch
 ..    Not implemented.
 
-vcl_hash
-  You may call hash_data() on the data you would like to add to the hash.
-
-  The vcl_hash subroutine may terminate with calling return() with one of
-  the following keywords:
-
-  lookup
-    Proceed.
-
 vcl_hit
   Called after a cache lookup if the requested document was found in the cache.
 



More information about the varnish-commit mailing list