Re: obj.tll as string

2008-03-03 Thread Dag-Erling Smørgrav
Dag-Erling Smørgrav [EMAIL PROTECTED] writes:
 Anders Vännman [EMAIL PROTECTED] writes:
  String representation of 'obj.ttl' not implemented yet
 Yes, obj.ttl is a double, and Varnish lacks code to convert a double
 to a string.  I'll get on it right away.

Fixed in trunk (r2546-2547).  I haven't checked how much work it is to
backport; I'll look into that tomorrow.

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


obj.tll as string

2008-02-19 Thread Anders Vännman
I tried this code in vcl_fetch in my vcl.conf, but it doesnt work. We are
running varnish-1.1.2

I get error

String representation of 'obj.ttl' not implemented yet



varnish-misc@projects.linpro.no writes:
I can't remember if 1.0.4 can do this, but I think that in 1.1.2 you
can add a header to the object so you can see the ttl:

set obj.http.X-TTL = obj.ttl



___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc