phk at phk.freebsd.dk
Wed Sep 5 23:04:58 CEST 2007
In message <46DF128E.9040002 at wheelhouse.org>, Jeff writes:
>Poul-Henning Kamp wrote:
>> I'm not sure we know exactly how we want to handle it.
>> One option is to let people rewrite in vcl_error() and restart the
>> transaction with the (presumably) new url.
>Would that be difficult? In such a case, I gather the guru would hang
>around to meditate on double-faults, thus avoiding loops?
The plan is to have a "max restarts per request" parameter to break
>> putting some relevant in-line C code in your VCL
>> file is probably your best bet.
>> This is intentionally not well documented, but cases like this is
>> what it is intended for.
>> The syntax is:
>> whatever you want
>I will take a look at this, but since it is intentionally not well
>documented, I am likely to have follow-up questions. :-)
I'm sure :-)
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-misc