• Martin Blix Grydeland's avatar
    Check for illegal status codes when executing return(synth()) · c7799008
    Martin Blix Grydeland authored
    Some status codes are illegal and will cause VRT_fail() when executed as
    normal set instructions in VCL. But this test is bypassed when status is
    set as a side effect of a `return (synth(code))` statement.
    
    This patch applies the same rules as when executing a set-instruction to
    the return(synth()) handling.
    
    Fixes second part of: #3301
    c7799008
cache_vrt.c 21.1 KB