In message <[email protected]>, Nils Goroll writes:
>Hi phk,
>Could you please advise?
Just for the record, we talked about this on IRC:
We should have a BOOL variable allowing "if (stale_obj) {" tests
and that if the object is accessed anyway, it returns:
stale_obj.status == 503
stale_obj.ttl = 0
all strings NULL
Further more, we add IMS to the bereq.http and if you do not want
to ask your backend for IMS, you remove it in VCL before return(fetch).
We may keep stale_obj.* around until vcl_deliver, so that it can
be fallen back to in case of fetch failure.
--
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