VMODs: PRIV_VCL objects and the event function's priv object

Dag Haavi Finstad daghf at varnish-software.com
Sun Oct 25 19:38:39 CET 2015


Hey Geoff

They are indeed the same. The vmod_priv object passed to the event
function is the PRIV_VCL object for that VMOD.


On Fri, Oct 23, 2015 at 4:21 PM, Geoff Simmons <geoff at uplex.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hello all,
>
> Are those two things the same object, by any chance?
>
> That is, when a VMOD has functions or methods with a PRIV_VCL
> parameter, and also implements the event function, do the *vmod_priv's
> passed into their implementations point to the same location, per VCL
> instance?
>
> (Seems like it would be a good idea.)
>
>
> Thanks,
> Geoff
> - --
> ** * * UPLEX - Nils Goroll Systemoptimierung
>
> Scheffelstraße 32
> 22301 Hamburg
>
> Tel +49 40 2880 5731
> Mob +49 176 636 90917
> Fax +49 40 42949753
>
> http://uplex.de
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQIcBAEBCAAGBQJWKkJWAAoJEOUwvh9pJNURrIYP/RS3FkCiINWGJrnv9UiiUbcI
> m4nB27Xtirh/q4cWfXkoPJ6V0rlNah5FnkwWeRBF9akbAa0mAl3eMUqZ6tNa3vY9
> Y+0hcvjB0WwSEkBmVOUyDF4KO1HfxvQ+Cwh9UF11oFqBMlf28E57nNAbvNW8QmM/
> Y8qyexd8CWDQ6Fan7/LOCEoiwOQByLEy2uOGRWFSty+FDgQp+T0EbhgdhuomUQuC
> WRGmzBMJUfeuLpEiNOEduWtxjNJnLmuAkAGUB15fIGqVx73hMhfC8wc7V9XAlo1D
> uJdxfM3tcxxST7jlyFIH74aZsOx5RwC1/VioRY/Lo1FkZvCwfLXPjkqbupuZSmyO
> a6UiC1ntKwHdK+sg9fwc2KXrXyRvW0xv7pGq9+1kvPyqQ0djk5/xisuB+JIfCLke
> /2qczd2mG5Z5utbsfv1hQyNKLiytGc4sGxx5QQ+cNeJbDo1n4jvnZUJKbPMqHqmN
> y1QH8DDzEWgi/BYEp1nCzC5E8vjRssn69hfPk8NK4lMczmGqVJ3S5lnrokgG5npp
> DXl9l2VF6D0e12E9w9Yovo8JK/nUFB04lurWesZzftKxKoyxQQ6RwtJpMIkL4aE2
> STdxsHHk2kDmAswRnbGAeuiEPp1GBoAQ8oGNBEdmCYUqn3bXEoyRnipjeMLjoQYq
> nrSAjyq4dIHbOIqIDTLk
> =Q2XO
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> varnish-dev mailing list
> varnish-dev at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev



-- 
Dag Haavi Finstad
Software Developer | Varnish Software
Mobile: +47 476 64 134
We Make Websites Fly!



More information about the varnish-dev mailing list