• Nils Goroll's avatar
    support concurrent access to PRIV_TOP · 27349a30
    Nils Goroll authored
    in varnish-cache, access to all ESI sub-requests happens in a single
    thread, but vmods (VDPs) may add concurrency.
    
    We thus protect access to PRIV_TOP with the session mutex.
    
    Any vmods using this facility will likely need to add additional locking for
    the actual data structures referenced through the PRIV_TOP and any other
    access to the top request.
    
    For alternatives previously considered, see #3139
    27349a30
cache_vrt_priv.c 5.33 KB