[master] df8c054 comment the VCL for clarity

Per Buer perbu at varnish-software.com
Fri Feb 21 21:09:31 CET 2014


commit df8c054419e6867eb178f68a94d536293b83fc85
Author: Per Buer <perbu at varnish-software.com>
Date:   Fri Feb 21 21:07:44 2014 +0100

    comment the VCL for clarity

diff --git a/doc/sphinx/users-guide/purging.rst b/doc/sphinx/users-guide/purging.rst
index 5604d96..38de2d3 100644
--- a/doc/sphinx/users-guide/purging.rst
+++ b/doc/sphinx/users-guide/purging.rst
@@ -39,6 +39,7 @@ following VCL in place::
 		  if (!client.ip ~ purge) {
 			  error 405 "Not allowed.";
 		  }
+                  # jump to hit/miss
 		  return (lookup);
 	  }
   }
@@ -133,7 +134,7 @@ object is not available in the ban lurker thread.
 
 You can use the following template to write ban lurker friendly bans::
 
-  sub vcl_fetch {
+  sub vcl_backend_response {
     set beresp.http.x-url = req.url;
   }
 



More information about the varnish-commit mailing list