[RFC] Changes to pass mode

Dag-Erling Smørgrav des at linpro.no
Wed Feb 7 14:48:17 CET 2007


"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
> Dag-Erling Smørgrav <des at linpro.no> 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.

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no



More information about the varnish-misc mailing list