Hi phk,

>                       Find valid in-grace object -> vcl_miss (with obj.*)
>                       Find nothing usable -> vcl_miss (without obj.*)

Now that we (finally) got to the point to actually implement this part of the
backend conditionals, the following question pops up: As obj.* may or may not
exist in vcl_miss, what should the various getters (vrt_r_obj_*) return for (obj
== NULL)? While I think returning the empty string for STRING attributes
(obj.proto, obj.response) should be OK, I don't see what the "undefined" value
for an integer (obj.status, obj.response, obj.hits ...) or a duration (obj.ttl,
obj.grace, ...) would be.

Could you please advise?

Nils

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

Reply via email to