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

Re: svnserve and IPv6 ?

From: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2005-03-02 06:09:44 CET

        
> I did not mention it but I tried, with the following commands, on the
> subversion server pc itself, which has the IPv4 address 10.1.1.222:
> 'svn co svn://10.1.1.222/test test.1' works.
> 'svn co svn://127.0.0.1/test test.2' also works.
> This shows that svnserve is not restricted to a specific address.
>
> 'svn co svn://::1/test test.3' gives me
> "svn: Illegal svn repository URL 'svn://::1/test'".
>
> 'svn co svn://[::1]/test test.4' gives me
> "svn: Illegal svn repository URL 'svn://[::1]/test'".

This is a problem in the svn url parsing code in
libsvn_ra_svn/client.c: parse_url
It gets mad because it already saw a : in the url, and doesn't want to
see another one.

Is there some good reason we don't use apr_uri_parse from apr-util here?
I see brane previously objected to it's handling of file:// urls, which
doesn't apply in libsvn_ra_svn.

I also know it parses ipv6 addresses because i see
http://lwn.net/Articles/102318

If we could use that instead of the parse_url, it would probably make
life easier here (we should still be able to parse out the tunnel spec
properly).
--Dan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 2 06:11:07 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.