why default_header part of vrt_backend is removed in varnish 5

Dridi Boukelmoune dridi at varni.sh
Wed Nov 22 08:15:09 UTC 2017

On Wed, Nov 22, 2017 at 6:49 AM, Prem Kumar <n.premkumar.me at gmail.com> wrote:
> Hi All,
> I'm using default headers specific to backend type in 3.1. For example
> backend 1 ,backend2 where default header for backend1 will be "xyz" and
> backend2 will be "abc".
> Now I don't find a way to add these headers in bereq. because I don't know
> what is the backend chosen and value should be added for a header is like
> adding multiple if else condition in the vcl_backend_featch. Looks like if i
> have more number of backends ,it will not scale.
> Please any could explain why this is been dropped in 5 and how could it be
> handled?


Not sure to understand, are you referring to `.host_header`? It's
still arround. You mention Varnish 3.1 but there is no such release,
are you upgrading from 2.1 or 3.0?


More information about the varnish-misc mailing list