PRIV_TASK and PRIV_TOP changes in 6.1

Carlos Abalde carlos.abalde at gmail.com
Mon Sep 10 10:53:02 UTC 2018


Hi all,

I assume https://github.com/varnishcache/varnish-cache/commit/f03948f48445be4dbea5f389ac4168b4a6befc6c is related with the PRIV_TASK and PRIV_TOP change mentioned in section 'Changes for developers' in https://github.com/varnishcache/varnish-cache/blob/master/doc/sphinx/whats-new/upgrading-6.1.rst.

Problem is I'm not sure I'm understanding what are the implications of that change for VMOD developers. For example, I checked implementation of xyzzy_test_priv_task() in lib/libvmod_debug/vmod_debug.c, both in 'master' and 'varnish-6.0.1', and I don't see any relevant changes: no assertions on 'priv', 'priv->priv' initialized as expected, etc. It seems I'm missing something here but I don't know what. Any clues? :)

Thanks,

--
Carlos Abalde



More information about the varnish-dev mailing list