On Thu, Oct 11, 2012 at 9:56 AM, Poul-Henning Kamp <[email protected]> wrote:
> In message 
> <cajv_h0alpdossrvptqorcdqxtg0nh_hcvseygio3jqb1wug...@mail.gmail.com>
> , Federico Schwindt writes:
>>On Thu, Oct 11, 2012 at 9:24 AM, Poul-Henning Kamp <[email protected]> 
>>wrote:
>>> In message <[email protected]>, "Federico 
>>> G. S
>>> chwindt" writes:
>>>
>>> I'm not sure I understand what you are trying to do here [...]
>
> This is probably my biggest hurdle right now:  What is the problem
> we are trying to solve ?

1. There is no way to get a date for `now + duration'.
This is something useful and often needed. Currently the only way is
via inline-C.
See https://www.varnish-cache.org/trac/wiki/VCLExampleSetExpires

2. now and now + duration behave differently (string vs duration)
This is for consistency.

3. now + duration returns a duration, not a time as supposed to be.
This is a bug.

f.-

_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to