• Martin Blix Grydeland's avatar
    Check for VRT_fail before setting handling on return() in VCL · 9e6f8a33
    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.
    
    Conflicts:
        lib/libvcc/vcc_action.c
    9e6f8a33
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
doc Loading commit data...
etc Loading commit data...
include Loading commit data...
lib Loading commit data...
m4 Loading commit data...
man Loading commit data...
tools Loading commit data...
.dir-locals.el Loading commit data...
.gitignore Loading commit data...
.syntastic_c_config Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README.Packaging Loading commit data...
README.rst Loading commit data...
autogen.des Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
flint.lnt Loading commit data...
varnish-legacy.m4 Loading commit data...
varnish.m4 Loading commit data...
varnishapi-uninstalled.pc.in Loading commit data...
varnishapi.pc.in Loading commit data...