In message <[EMAIL PROTECTED]>, 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
such loops.
>> 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:
>>
>> C{
>> whatever you want
>> }C
>
>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
[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-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc