[master] 5834b8c State that return(fetch) is not allowed any more

PÃ¥l Hermunn Johansen hermunn at varnish-software.com
Thu Mar 15 09:05:11 UTC 2018


commit 5834b8c44ef4ff4e0baa74b5655be96d0ea5319d
Author: Pål Hermunn Johansen <hermunn at varnish-software.com>
Date:   Thu Mar 15 10:02:37 2018 +0100

    State that return(fetch) is not allowed any more

diff --git a/doc/changes.rst b/doc/changes.rst
index b2c5b65..aa887e7 100644
--- a/doc/changes.rst
+++ b/doc/changes.rst
@@ -36,6 +36,10 @@ Usage
 VCL and bundled VMODs
 ---------------------
 
+* ``return (fetch)`` is no longer allowed in ``vcl_hit {}``, use
+  ``return (miss)`` instread. Note that ``return (fetch)`` has been
+  deprecated since 4.0.
+
 * Fix behaviour of restarts to how it was originally intended:
   Restarts now leave all the request properties in place except for
   ``req.restarts`` and ``req.xid``, which need to change by design.


More information about the varnish-commit mailing list