• Nils Goroll's avatar
    vmod_directors: vmod object destruction vs. director destruction · 4102ed93
    Nils Goroll authored
    Turn the director destruction inside-out: When the vmod object goes
    out of scope, we inform VRT that the director is to be
    destroyed. Actual destruction is moved to the respective director
    callback.
    
    This allows directors to outlast vmod objects.
    
    For vdir based directors, the director object is the vmod object; for
    shard, the two are different instances (we might want to reconsider
    changing this later).
    4102ed93
vdir.c 5.58 KB