• Dridi Boukelmoune's avatar
    Fix the behavior of `set BODY = STRING;` · 2eb352d2
    Dridi Boukelmoune authored
    Multiple calls to the synthetic() function result in the accumulation of
    all body parts. The ability to set a [be]resp body accidentally resulted
    in the same behavior.
    
    In other words writing `set resp.body = "string";` in VCL behaves as if
    `set resp.body += "string";` was written instead. This patch introduces
    an enum to distinguish between the two desired actions and enables both
    syntaxes without touching the behavior of the synthetic() function.
    2eb352d2
Name
Last commit
Last update
.circleci Loading commit data...
.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...
.envrc Loading commit data...
.gitignore Loading commit data...
.lgtm.yml 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...