Probably a stupid question, but I have at the top of my file: import std;
But varnish doesn't recognize symbol for std.rand Aug 25 03:03:35 almstgvarnish124 varnishd[910081]: Message from VCC-compiler: Aug 25 03:03:35 almstgvarnish124 varnishd[910081]: Symbol not found: 'std.rand' Aug 25 03:03:35 almstgvarnish124 varnishd[910081]: At: ('/etc/varnish/default.vcl' Line 94 Pos 17) -- (Pos 24) Aug 25 03:03:35 almstgvarnish124 varnishd[910081]: if (std.rand(0, 100) < 50) { Aug 25 03:03:35 almstgvarnish124 varnishd[910081]: ----------------########---------------- Seems odd... I thought it was included in the 7.3 distribution. How do I fix that? ---
_______________________________________________ varnish-dev mailing list varnish-dev@varnish-cache.org https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev