]> err.no Git - varnish/commit
Add a backend property ".host_header" to set default content of Host:
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 11 Jul 2008 21:02:05 +0000 (21:02 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 11 Jul 2008 21:02:05 +0000 (21:02 +0000)
commitef40077cd779e3a68323d50617cac4d80a63fdd5
tree6b8dc682071de6397eaac2634f7bfc71b6ff4cf1
parentecd9fecc40b3647ef9ae1f488fdfb49f669fcbb6
Add a backend property ".host_header" to set default content of Host:
header if client didn't provide one.

If .host_header is not specified, it defaults to .host.

Add testcase for this logic.

(Incidental change: Use "interval" instead of "rate" for backend pollers.)

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2938 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache_backend_cfg.c
varnish-cache/bin/varnishtest/tests/v00008.vtc [new file with mode: 0644]
varnish-cache/include/vrt.h
varnish-cache/lib/libvcl/vcc_backend.c
varnish-cache/lib/libvcl/vcc_fixed_token.c