Streaming and backend conditional requests

Poul-Henning Kamp phk at phk.freebsd.dk
Sat Jan 14 20:55:45 CET 2012


In message <DB767A60-F899-4D7B-B8F1-1485AA1B5DB2 at crucially.net>, Artur Bergman 
writes:

>> 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.
>
>No, I mean vcl_fetch returns something that you don't like and you want 
>to error out.

Yes, that's one of the reasons I found it confusing:  You end up in
vcl_fetch{} again, this time with the synth response.  To avoid the
obvious loop, we'd have to count that as a restart or something similar.

-- 
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-dev mailing list