On Thu, Aug 25, 2005 at 09:09:18AM -0400, Jeff Trawick wrote:
> On 8/22/05, Jeff Trawick <[EMAIL PROTECTED]> wrote:
> > On 8/20/05, Paul Querna <[EMAIL PROTECTED]> wrote:
> > > Bundled with APR & APR-Util 1.2.1:
> > > http://people.apache.org/~pquerna/dev/httpd-2.1.7/
> > >
> > > Please test and vote on releasing 2.1.7 as beta.
> > 
> > Any reasonable place to put release notes like the following form?
> 
> >   Apache may fail to initialize on AIX with a generic Listen directive
> >   e.g. "Listen 10101" ->
> > 
> > (67)Address already in use: make_sock: could not bind to address [::]:10101
> 
> I don't know why this would be AIX-specific.
> 
> Server is configured with --enable-v4-mapped (default on most
> systems), which is supposed to mean "just get one darn socket and
> handle both IPv4 and IPv6 traffic to that port on that socket".
> 
> apr_sockaddr_info_get() is hard-coded (no control) to return a list of
> possible listening socket addresses when called from alloc_listener().
>  So we get IPv4 and IPv6 address back.

Specifically what addresses, in what order?  It looks like the logic in 
open_listeners() which is supposed to cope with this stuff might fail if 
you get AF_INET/0.0.0.0 followed by AF_INET6/[::] rather than the other 
way round.

> 
> In later make_sock for the IPv4 address, we set up the IPv4 socket
> fine.  In make_sock for the IPv6 address, since we're supposed to be
> capable of mapped addresses, we set IPV6_V6ONLY to 0.  So the bind
> fails since there is overlap.

Reply via email to