• Martin Blix Grydeland's avatar
    Fix handling of failed VRT_new_backend_clustered · 7523f3c1
    Martin Blix Grydeland authored
    We refuse to accept new dynamic backends while the VCL is cooling, and
    drop adding the attempted backend on the VCL's backend list when that
    condition is found. But that would cause an assert later when it is picked
    off the cool_backends list for destruction. Fix this by directly
    destroying the backend instead of going through the cooling list.
    
    Note that this patch removes the ASSERT_CLI() macro in vbe_destroy().
    7523f3c1
cache_vcl_vrt.c 9.61 KB