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

Re: obj.tll as string

2008-03-03 Thread Dag-Erling Smørgrav
"Anders Vännman" <[EMAIL PROTECTED]> writes: > 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 Yes, obj.ttl is a double, and Varnish lacks code to convert a double to a stri

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).