Asking for backend set in VCL 4

Thomas Lecomte thomas.lecomte at virtual-expo.com
Tue Apr 26 14:37:08 CEST 2016


On Tue, Apr 26, 2016 at 2:26 PM, Andreas Haase - evolver group
<andreas.haase at evolver.de> wrote:
> Now, in VCL 4 there seems no possibility to ask for the backend actually
> set. Is there any way to use this again, or do we have to use a
> work-around like setting custom http headers and later asking for their
> content?

Hello,

Unfortunately, since v4, you can't test req.backend_hint.
I had to define a custom HTTP header every time I set req.backend_hint
to keep track of it.

-- 
Thomas Lecomte / Virtual Expo



More information about the varnish-misc mailing list