• Nils Goroll's avatar
    add a VRT_CTX argument to the vmod_priv fini function · 43d9e5fb
    Nils Goroll authored
    we take the chance of the breaking change in
    681c1199 to also add a VRT_CTX
    argument to vmod_priv_fini_f. This allows a vmod_priv fini function,
    for example, access to the request or simpler and better logging
    (because the task's vsl buffer can be used where otherwise only
    unbuffered vsl was possible).
    
        Implementation:
    
    The meat of this commit really only is the change to the
    vmod_priv_fini_f typedef and VRT_priv_fini().
    
    All other changes are either to bundled vmods or the straight forward
    infrastructure to make available a ctx to VRT_priv_fini(), which, for
    client and backend context, is called via VCL_TaskLeave().
    
    Consequently, it made sense to also change the signature
    Req_Rollback() and Bereq_Rollback().
    43d9e5fb
Name
Last commit
Last update
..
Makefile.am Loading commit data...
flint.lnt Loading commit data...
flint.sh Loading commit data...
generate.py Loading commit data...
vcc_acl.c Loading commit data...
vcc_action.c Loading commit data...
vcc_backend.c Loading commit data...
vcc_backend_util.c Loading commit data...
vcc_compile.c Loading commit data...
vcc_compile.h Loading commit data...
vcc_expr.c Loading commit data...
vcc_namespace.h Loading commit data...
vcc_parse.c Loading commit data...
vcc_storage.c Loading commit data...
vcc_symb.c Loading commit data...
vcc_token.c Loading commit data...
vcc_types.c Loading commit data...
vcc_utils.c Loading commit data...
vcc_var.c Loading commit data...
vcc_vmod.c Loading commit data...
vcc_xref.c Loading commit data...
vmodtool.py Loading commit data...
vsctool.py Loading commit data...