(I talked with Geoff on IRC about one aspect of the patch which didn't look nice, the tendency for the ttl/grace stuff to leak all over the place.)
I've spent the evening trying to untangle ttl/grace and generalize it in a way that will make adding the conditiona_timeout (that is sort of a long word, isn't it ?) easier to fit in. You should now be able to add the field to struct exp, add the variables to the VCC python file, macro-calls in cache_vrt_var.c and hide the rest of it in cache_expire.c Note the call to EXP_Grace() in update_object_when(), you'll need to update that as well. (I'll take care of -spersistence, please don't touch that) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [email protected] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. _______________________________________________ varnish-dev mailing list [email protected] http://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
