i've installed to test,

varnishd -V
        varnishd (varnish-3.0.0-beta1 revision 5e2c77b)
        Copyright (c) 2006-2009 Linpro AS / Verdens Gang AS


at varnish launch,

Message from VCC-compiler:
Expected ';' got '", "'
(program line 174), at
('/etc/varnish/vcl.svr1.conf' Line 90 Pos 42)
                req.http.X-forwarded-For ", "
-----------------------------------------####

Running VCC-compiler failed, exit 1

VCL compilation failed


where, in 

/etc/varnish/vcl.svr1.conf

                if (req.http.X-Forwarded-For) {
                        set req.http.X-forwarded-For =
        90              req.http.X-forwarded-For ", "
                        regsub(client.ip, ":.*", "");
                    }

as the stanza's find in v2.1.5x, reading v3's doc/changes.rst, i suspect
i'm missing/misunderstanding a syntax change.

is this the relevant stmt,

  - Change ``req.hash += value`` to ``hash_data(value)``

&/or what's the issue with the stanza above?

thx.

_______________________________________________
varnish-misc mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to