• Martin Blix Grydeland's avatar
    Check for VRT_fail before setting handling on return() in VCL · aba2855c
    Martin Blix Grydeland authored
    The compound statement doing return() in VCL may have failed for some
    reason, for example running out of workspace while putting together the
    reason field. The fail handling would be overwritten by the forced
    handling at the end of the generated code for a return statement.
    
    This patch adds a test for the failure condition before forcing the
    handling to the result of the return statement.
    aba2855c
vcc_action.c 10.4 KB