httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@hotwired.com (Dean Gaudet)
Subject Re: Host: header patch
Date Thu, 31 Oct 1996 08:25:40 GMT
In article <hot.mailing-lists.new-httpd-559nn1$c6f@re.hotwired.com>,
Dean Gaudet <new-httpd@hyperreal.com> wrote:
>In article <hot.mailing-lists.new-httpd-Pine.SOL.3.93.961030145047.12022Y-100000@eat.organic.com>,
>Brian Behlendorf  <new-httpd@hyperreal.com> wrote:
>>This is closer; but it now has the characteristic where either an IP-vhost
>>*must* appear first in the list, *or* all name-vhosts must appear before the
>>first ip-vhost.
>
>An unrelated bug... patch follows.  (I tested this against your
>httpd.conf.test file on hyperreal, which I'm assuming is one of the
>broken configs you were talking about.)
>
>default_server_hostnames() calls both gethostbyname and gethostbyaddr
>which use the same static area to store their addresses.  So this
>patch makes a copy of the data it needs from the gethostbyname call.

Oh, P.S.  The only reason this was showing up for you is that the
vrml.wired.com server has no ServerName in your config file.  In that
case it has to do a lookup.

Dean

Mime
View raw message