Functions in backend variables interpretted literally

Chris Topher (redacted) Chris Topher at gmail.com
Wed Aug 12 17:17:24 CEST 2015


Hi there

I used dynamically named servers on EC2, my varnish bootstrap setup configures the vcl according to the server name e.g.
i-f2dd2d2f

Varnish doesn't like the hyphen in the back end name, so I replace it out, fair enough:
if2dd2d2f

Now it fails because the back end server name has the function 'if' in it!

I now replace this out to:
lol2dd2d2f

I think it may be a bug that the 'if' function is interpreted in a back end variable definition like this.

________________________________

---------------------------------------------------------------------------------------
 This email has been scanned for email related threats and delivered safely by Mimecast.
 For more information please visit http://www.mimecast.com
---------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-bugs/attachments/20150812/1c78ab3f/attachment.html>


More information about the varnish-bugs mailing list