In message <[email protected]>, Artur Bergman
writes:
>> I did consider the alternative, where you call synth() from vcl_recv{}
>> and then go from there to vcl_fetch{}, in essense making synth{} a
>> virtual backend.
>>
>> Would that be better ?
>
>What happens in an error and you want to go vcl_synth?
You mean a 503 ? Same is in my proposal from yesterday: You get
into vcl_fetch{} with a synthetic 503 response
In some ways this way of doing things is cleaner, but I fear also
more confusing.
--
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]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev