In message <[EMAIL PROTECTED]>, Dag-Erling =?iso-8859-1?Q?Sm=F8rgra
v?= writes:
>"Poul-Henning Kamp" <[EMAIL PROTECTED]> writes:
>> Dag-Erling Sm=F8rgrav <[EMAIL PROTECTED]> writes:
>> > There is one downside to PIPE: we can't insert a header telling the
>> > backend that we're acting on behalf of a client, which makes
>> > logging difficult.  We *can* do so with PASS, though I believe we
>> > currently don't.
>> Well, it should be (will be) possible to do that in vcl_recv{} but
>> it may make sense to have a vcl_pipe{} for that job, to avoid
>> repetitions in vcl_recv{}.
>
>Well, by definition we *can't* do it in PIPE since PIPE is supposed to
>pass traffic back and forth unaltered.  We *can* (and IMHO *should*)
>do it in PASS.

Weeeell,

We can do it in the _first_ PIPE transaction, and that could maybe
be used to force the backend to close after that transaction, so
we avoid piping more than that one transaction.

-- 
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

Reply via email to