[master] 282f3f4 Document req.ttl and when it is going to be removed
Nils Goroll
nils.goroll at uplex.de
Mon Jan 16 14:00:06 CET 2017
commit 282f3f41aa51d52d350b5e9cb821f9ff9f128117
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Mon Jan 16 13:58:43 2017 +0100
Document req.ttl and when it is going to be removed
closes #2014
diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index 2f27243..c3b971b 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -280,6 +280,14 @@ sp_variables = [
'DURATION',
('client',),
('client',), """
+ 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.xid',
More information about the varnish-commit
mailing list