[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r13236 - in trunk: . subversion/svnserve

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-03-04 02:36:03 CET

Daniel Berlin <dberlin@dberlin.org> writes:

> Errr, then APR is doing something wrong.
> We use APR_UNSPEC when getting host info, which lets apr decide which
> family to use.
> If you have no ipv6 support, the lookup shouldn't given you an ipv6
> family in it's return, which causes us to create an ipv6 socket.
> Nowhere do i explicitly create an ipv6 socket on my own in the code.
> I'm not sure what to do here.
> Is APR_HAVE_IPV6 in apr.h defined to 1 or 0 on your system.

It's defined as 1 despite the lack of IPV6 support in the kernel.
Running configure I see

Checking for IPv6 Networking support...
checking for library containing getaddrinfo... none required
checking for library containing gai_strerror... none required
checking for library containing getnameinfo... none required
checking for gai_strerror... yes
checking for working getaddrinfo... yes
checking for negative error codes for getaddrinfo... yes
checking for working getnameinfo... yes
checking for sockaddr_in6... yes
checking if APR supports IPv6... yes

so I guess APR only does compile time checks. I can use
--disable-ipv6 to disable APR's IPV6 support.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 4 02:37:12 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.