]> granicus.if.org Git - apache/commit
Restore the ability to specify host names on Listen directives.
authorJeff Trawick <trawick@apache.org>
Wed, 31 Jul 2002 12:44:55 +0000 (12:44 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 31 Jul 2002 12:44:55 +0000 (12:44 +0000)
commit2c87cc96203220f7788b16d8612ebe45c12de1ac
tree5f9d4a0c463c973db542349f93651623aba8b2fe
parent2591f7007019cd5fe4bf76dbd1fc61b64641a80d
Restore the ability to specify host names on Listen directives.
We needed to compare on the value we pass to apr_sockaddr_info_get(),
not the IP address string.  Sometimes this is an IP address string
and sometimes it is a host name.  Otherwise, on the second pass
through this code we won't find the existing listen_rec for a Listen
directive which had a host name, and we'll create a new listen_rec
and try to bind again to the same addr/port.

PR:                  11030
Helped immensely by: David Shane Holden <dpejesh@yahoo.com>,
                     who debugged it and submitted a patch which
                     showed the problem; a much simpler change was
                     committed though

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96258 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
server/listen.c