thoughts about vcl cleanup around (be)resp.body and abandon/synth

Nils Goroll slink at schokola.de
Tue Nov 29 17:41:34 CET 2016


On 29/11/16 16:30, Nils Goroll wrote:
> - generating synthetic content (setting a body) on the backend side is only
>   possible in vcl_backend_error. [...]

Thank you to fgs for pointing our that people who are not following IRC may find
it hard to understand the actual use case I am working on.

It's dead simple: Replace bodies for backend responses which should not be sent
downstream while keeping the original response headers (or at least some).

Nils



More information about the varnish-dev mailing list