• Nils Goroll's avatar
    Avoid panic with PRIV_TOP arguments · d0db4c97
    Nils Goroll authored
    Instead of triggering a WRONG() panic, we now fail the VCL when any vmod
    function with PRIV_TOP argument(s) is present in a sub called from
    outside client context.
    
    Note that the VCL failure happens not when the vmod function with the
    PRIV_TOP argument is called, but rather when the containing SUB is
    called. This is because we prepare PRIV_TOP arguments in the function
    preamble.
    
    Fixes #3498
    d0db4c97
Name
Last commit
Last update
..
varnishadm Loading commit data...
varnishd Loading commit data...
varnishhist Loading commit data...
varnishlog Loading commit data...
varnishncsa Loading commit data...
varnishstat Loading commit data...
varnishtest Loading commit data...
varnishtop Loading commit data...
Makefile.am Loading commit data...
flint.lnt Loading commit data...