[master] 12578f449 Undeprecate req.ttl

hermunn hermunn at varnish-software.com
Mon Jul 2 12:39:08 UTC 2018

commit 12578f4493090a4c919cf22ea7185d18eae8919b
Author: Pål Hermunn Johansen <hermunn at varnish-software.com>
Date:   Thu Jun 7 14:21:04 2018 +0200

    Undeprecate req.ttl
    Right now there are use cases that cannot be solved without req.ttl,
    so we undeprecate it.

diff --git a/doc/sphinx/reference/vcl_var.rst b/doc/sphinx/reference/vcl_var.rst
index 12423f2ec..692a5888c 100644
--- a/doc/sphinx/reference/vcl_var.rst
+++ b/doc/sphinx/reference/vcl_var.rst
@@ -296,13 +296,6 @@ req.ttl
 	Upper limit on the object age for cache lookups to return hit.
-	Usage of req.ttl should be replaced with a check on
-	obj.ttl in vcl_hit, returning miss when needed, but
-	this currently hits bug #1799, so an additional
-	workaround is required.
-	Deprecated and scheduled for removal with varnish release 7.

More information about the varnish-commit mailing list