]> err.no Git - varnish/commit
Make sure that
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 11 Nov 2008 20:22:05 +0000 (20:22 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 11 Nov 2008 20:22:05 +0000 (20:22 +0000)
commit9f110a6dae02055df931380489251ae2c2b8a42a
tree341cc4d1d09aabc56caf46527c551b4643c46dfc
parentf75b16a6ee5c50c42e622f600193fdfb935289eb
Make sure that
set obj.ttl = 0s
means that the object is not hit again by actually using "-1" instead.

This works around the rounding error which otherwise causes the object
to be inside TTL for up to one second - epsilon.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3388 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache_vrt.c
varnish-cache/bin/varnishtest/tests/v00023.vtc [new file with mode: 0644]