[3.0] 0152502 Document that vcl_pass/vcl_miss can't restart

Lasse Karstensen lkarsten at varnish-software.com
Fri Mar 7 13:31:02 CET 2014


commit 0152502b34b24ae3c3ad9ab774c4116744215b67
Author: Lasse Karstensen <lkarsten at varnish-software.com>
Date:   Fri Mar 7 11:26:42 2014 +0100

    Document that vcl_pass/vcl_miss can't restart
    
    Restart from vcl_pass and vcl_miss does not work, but was
    documented that it did.
    
    Mentioned in: #1443

diff --git a/bin/varnishd/cache_center.c b/bin/varnishd/cache_center.c
index fdf7cee..d0f3bf2 100644
--- a/bin/varnishd/cache_center.c
+++ b/bin/varnishd/cache_center.c
@@ -1186,8 +1186,6 @@ DOT		label="vcl_miss()|req.\nbereq."
 DOT	]
 DOT	miss -> vcl_miss [style=bold,color=blue]
 DOT }
-DOT vcl_miss -> rst_miss [label="restart",color=purple]
-DOT rst_miss [label="RESTART",shape=plaintext]
 DOT vcl_miss -> err_miss [label="error"]
 DOT err_miss [label="ERROR",shape=plaintext]
 DOT vcl_miss -> fetch [label="fetch",style=bold,color=blue]
@@ -1272,8 +1270,6 @@ DOT	pass2 -> vcl_pass [style=bold, color=red]
 DOT	vcl_pass -> pass_do [label="pass"] [style=bold, color=red]
 DOT }
 DOT pass_do -> fetch [style=bold, color=red]
-DOT vcl_pass -> rst_pass [label="restart",color=purple]
-DOT rst_pass [label="RESTART",shape=plaintext]
 DOT vcl_pass -> err_pass [label="error"]
 DOT err_pass [label="ERROR",shape=plaintext]
  */
diff --git a/doc/sphinx/reference/vcl.rst b/doc/sphinx/reference/vcl.rst
index fd4f588..76aae84 100644
--- a/doc/sphinx/reference/vcl.rst
+++ b/doc/sphinx/reference/vcl.rst
@@ -522,11 +522,6 @@ vcl_pass
   pass
     Proceed with pass mode.
 
-  restart
-    Restart the transaction. Increases the restart counter. If the number 
-    of restarts is higher than *max_restarts* varnish emits a guru meditation 
-    error.
-
 vcl_hash
   You may call hash_data() on the data you would like to add to the hash.
   



More information about the varnish-commit mailing list