• Dridi Boukelmoune's avatar
    Fail name checks early in varnishtest · 0e4174c0
    Dridi Boukelmoune authored
    It closes a race for barriers because the list could be updated by the
    top thread while walked by another thread. It also saves useless lookups
    by rejecting names earlier.
    
    This is not the case for servers because a) they have proper locking of
    the servers list and b) there is the dispatch special case. It would
    otherwise be harmless to do it for the server too because dispatched
    servers don't depend on user input.
    0e4174c0
vtc_logexp.c 13.7 KB