diff options
author | Jeff Trawick <trawick@apache.org> | 2002-07-31 12:44:55 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2002-07-31 12:44:55 +0000 |
commit | 2c87cc96203220f7788b16d8612ebe45c12de1ac (patch) | |
tree | 5f9d4a0c463c973db542349f93651623aba8b2fe /CHANGES | |
parent | 2591f7007019cd5fe4bf76dbd1fc61b64641a80d (diff) | |
download | httpd-2c87cc96203220f7788b16d8612ebe45c12de1ac.tar.gz |
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
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,5 +1,8 @@ Changes with Apache 2.0.40 + *) Restore the ability to specify host names on Listen directives. + PR 11030. [Jeff Trawick, David Shane Holden <dpejesh@yahoo.com>] + *) When deciding on the default address family for listening sockets, make sure we can actually bind to an AF_INET6 socket before deciding that we should default to AF_INET6. This fixes a startup |