Functions in backend variables interpretted literally

Chris Monteiro chris.monteiro at spotlight.com
Wed Aug 12 15:17:24 UTC 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 e-mail, and any attachment, is confidential. If you have received it in error, please delete it from your system, do not use or disclose the information in any way, and notify me immediately. The contents of this message may contain personal views that are not the views of Spotlight, unless specifically stated.
---------------------------------------------------------------------------------------
 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/vinyl-bugs/attachments/20150812/1c78ab3f/attachment.html>


More information about the varnish-bugs mailing list