send hostname?
Poul-Henning Kamp
phk at phk.freebsd.dk
Mon Oct 2 16:09:14 CEST 2006
In message <ujrlknyerw7.fsf at cat.linpro.no>, Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=
writes:
>"Joseph McDonald" <superjoe at gmail.com> writes:
>> I'm just starting with varnish, I point my backend to a name based
>> server, but the name doesn't seem to get sent down to the backend
>> server. Is there some switch I need to get it to send the hostname
>> down with the request?
>
>Varnish will send a Host: header to the backend if it got one from the
>client.
sorry about the delay, I've been occupied with other stuff.
Actually, Varnish will insert a Host: if there isn't one, but only
in the "fetch" case. Similar code was missing in the pass & pipe cases.
Fixed.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-misc
mailing list