PRIV_CALL issue in vmod

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Sep 13 09:26:37 CEST 2011


In message <CANZWjw6c9ftV721d9WOmkz1EEb1C8O=KouP2f_ZA-yEUsQ+XqA at mail.gmail.com>
, AD writes:

>Ah i see. So basically if we have an expensive operation, like a DB call (as
>an example), we would have to re-do it every time we use the Vmod function
>inside the VCL.

Until I get the PRIV_SESS stuff working, yes.

And yes, accessor functions is the way to go.


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