[PATCH] Allow returning abandon from vcl_backend_error{}
Federico Schwindt
fgsch at lodoss.net
Thu Apr 9 22:55:59 CEST 2015
Hi,
Currently if you want to have all your error handling in a single place,
i.e. vcl_synth{}, and you end up in vcl_backend_error{} you have to either
return retry and then abandon in vcl_backend_fetch{} or return deliver and
in vcl_deliver{} return synth.
I can't think of any reason for not allowing this so the attached patch
lifts this restriction.
Comments? OKs?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20150409/964a6fbc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allow-returning-abandon-from-vcl_backend_error.patch
Type: text/x-patch
Size: 2499 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20150409/964a6fbc/attachment.bin>
More information about the varnish-dev
mailing list