]> err.no Git - varnish/commit
Start the long awaited overhaul of the backend code and syntax.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 21 Jan 2008 13:09:17 +0000 (13:09 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 21 Jan 2008 13:09:17 +0000 (13:09 +0000)
commitc5cd30fd59c16688c2dcd3fc31d0460ae3178945
tree67d6142e7e2fad594fb8278b76a41a7f979941b7
parentd17685b31de133ce03c06c65e2bbdec23f229b54
Start the long awaited overhaul of the backend code and syntax.

Off the bat, this affects only the simple backend case, and the
main thrust is a syntax change from a dynamic procedural assignment
style:

backend b1 {
set backend.host = "fs.freebsd.dk";
set backend..port = "80";
}

to a constant structural definition style:

backend b1 {
.host = "fs.freebsd.dk";
.port = "80";
}

A helpfull compile error will advice on this change.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2356 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache_backend_simple.c
varnish-cache/bin/varnishd/mgt_vcc.c
varnish-cache/include/vrt.h
varnish-cache/lib/libvcl/vcc_backend.c
varnish-cache/lib/libvcl/vcc_compile.h
varnish-cache/lib/libvcl/vcc_fixed_token.c