]> err.no Git - varnish/commit
Move selection of backend and creation of default Host: header until
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 21 Aug 2008 08:37:37 +0000 (08:37 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 21 Aug 2008 08:37:37 +0000 (08:37 +0000)
commitb1d70b8341cb26766d533f01264361d3b4ca0fc3
treefb4dadd74bce06306ab0768a05f0fbd343a2da6a
parent487e4d784dbd74a3122d443bf7f6114ba01d88e4
Move selection of backend and creation of default Host: header until
we actually need to get a filedescriptor to the backend.

This also makes it evident for vcl_pass{}, vcl_pipe{} and vcl_miss{}
if the client sent a Host: header or not.  Previously these functions
saw the default Host: header.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3118 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/cache_backend.c
varnish-cache/bin/varnishd/cache_center.c
varnish-cache/bin/varnishd/cache_fetch.c
varnish-cache/bin/varnishd/cache_http.c