• Dridi Boukelmoune's avatar
    vmod: Objects can have methods named like constructors · 4e316c26
    Dridi Boukelmoune authored
    I came across a VMOD that has a method named like the constructor to
    conceptually reinitialize the object's state. That's an implementation
    detail of the VMOD in question and arguably undefined behavior in
    Varnish.
    
    In order to not accidentally break this assumption, add some test
    coverage and document this possibility.
    4e316c26
vmod_debug_obj.c 6.14 KB