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

Re: [PATCH] Fix svnserve not accepting IPV4 connections on an IPV6 socket?

From: Jonathan Gilbert <o2w9gs702_at_sneakemail.com>
Date: 2005-07-12 15:38:44 CEST

At 01:53 PM 12/07/2005 +0200, Brane wrote:
>nick vajberg wrote:
>
>>I don't know the context of your patch, but the "is
>>IPv4 mapped" flag seems to be missing. Here's how I'd
>>do it:
>>
>>#if APR_HAVE_IPV6
>>#ifdef AP_ENABLE_V4_MAPPED
>>
>>
>I think this is an httpd symbol? Svnserve doesn't link to httpd.

These are not symbols at all. They are preprocessor macros. However, you
are right that the AP_ENABLE_V4_MAPPED macro is defined by Apache's
config.h and not APR's (otherwise it would be called APR_ENABLE_V4_MAPPED
:-). It shouldn't be hard to make an equivalent option for SVN, though I
see no reason to make it a compile-time option when it could easily be
added to the 'conf/svnserve.conf' file in the repository directory...

Jonathan Gilbert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 12 15:40:23 2005

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