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

Re: 1.5 client can't connect to 1.4 svnserve

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 22 Mar 2008 09:20:35 +0100

Stefan Sperling wrote:
> On Fri, Mar 21, 2008 at 10:23:39PM +0100, Stefan Sperling wrote:
>> OK, next try.
>
> Eric Gillespie pointed me to an old patch by Joe Orton
> attached to issue #2382 that implements the very same fix,
> but is a bit cleaner and also closes sockets it cannot connect with:
>
> http://subversion.tigris.org/nonav/issues/showattachment.cgi/500/svn_rasvnaddr.diff
>
> Attached is an updated version of it that applies to current trunk.
>
> Tested again like my previous patch, with 1.5 svnserve and svn client,
> on a fully IPv6-enabled host (running FreeBSD). Connecting works, and
> the client errors out while svnserve is not running, so at least this
> patch does not seem to break anything.
>
> This is based on Joe Orton's original log message:
>
> [[
> Fix issue #2382, correctly handle dual-stack servers in ra_svn client.
>
> * subversion/libsvn_ra_svn/client.c:
> (make_connection): Iterate through the returned list of addresses
> until a socket/connect pair succeeds.
> ]]

I can confirm that this patch works too.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-03-22 09:21:00 CET

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