[6.0] 4faaa055f Undeprecate req.ttl

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Aug 16 08:53:17 UTC 2018


commit 4faaa055fc01632065db87041d3cac71a0db2163
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 b08b947fb..2bb40b214 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.
-
 
 req.grace
 


More information about the varnish-commit mailing list