[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 Sperling <stsp_at_elego.de>
Date: Fri, 21 Mar 2008 23:00:16 +0100

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.
]]

-- 
Stefan Sperling <stsp_at_elego.de>                 Software Developer
elego Software Solutions GmbH                            HRB 77719
Gustav-Meyer-Allee 25, Gebaeude 12        Tel:  +49 30 23 45 86 96 
13355 Berlin                              Fax:  +49 30 23 45 86 95
http://www.elego.de                 Geschaeftsfuehrer: Olaf Wagner

  • application/pgp-signature attachment: stored
Received on 2008-03-21 23:00:32 CET

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