]> err.no Git - varnish/commit
Simplify how we manage the -f argument:
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 21 Nov 2008 12:09:46 +0000 (12:09 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 21 Nov 2008 12:09:46 +0000 (12:09 +0000)
commit6ad26022dd996b5cece6d18950fea9bab355f145
tree89c52557d591b73b8443166078c05fa1cdc34f37
parentdbfb5db5873040a8efabceb95171d4c90690f9ea
Simplify how we manage the -f argument:

The VCL file specified to -f must be read relative to the directory
from which varnishd is started, before we chdir to the workdir.

We used to deal with this by opening the file and passing the file
handle down.  It's simpler to just read the file and pass the actual
VCL code down.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3415 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/mgt.h
varnish-cache/bin/varnishd/mgt_vcc.c
varnish-cache/bin/varnishd/varnishd.c
varnish-cache/include/libvarnish.h
varnish-cache/include/libvcl.h
varnish-cache/lib/libvarnish/vtmpfile.c
varnish-cache/lib/libvcl/vcc_compile.c