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

Re: [PATCH] Add option to svnserve to disable ipv6

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-05-24 23:35:53 CEST

Jim Morris wrote:

> * subversion/svnserve/main.c
> (main): Add --noipv6 option, and if set do not bind to an ipv6 port
>
> On at least one system I am using (OpenBSD) the 1.2.0 version of
> svnserve detects there is an ipv6 network, and binds to that network
> ONLY. So there is no listening port setup on ipv4, so no ipv4 clients
> can connect.
>
> As I do not use ipv6 I added an option --noipv6 which will force it to
> bind to the ipv4 network as previous versions did.
>
> Others with both ipv6 and ipv4 on their systems may encounter similar
> problems as I do not think this is specific to OpenBSD.
>
> Ideally the fix should actually allow it to bind to both ipv6 and ipv4
> networks, however that fix is beyond me at the moment.

I sympathize, but i really don't think this patch is appropriate for the
SVN code. The thing to do is to figure out if a) we're using APR
incorrectly, b) there's actually a bug _in_ apr, or c) there's a bug in
the way APR was built on your system.

Note that I'm not saying your problem isn't real or shouldn't be fixed,
just that this isn't the way to fix it in the mainstream code.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 24 23:36:41 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.