[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 21:20:01 +0100

On Fri, Mar 21, 2008 at 09:10:49PM +0100, Stefan Sperling wrote:
> On Fri, Mar 21, 2008 at 08:48:32PM +0100, Stefan Küng wrote:
> > Karl Fogel wrote:
> >> Stefan, you probably saw my mail just now saying that I can't reproduce
> >> this. But in IRC, Eric Gillespie had an interesting thought:
> >>
> >> <epg> re: svnserve connection refused: maybe 1.5 is trying ipv6 and
> >> then giving up?
> >
> > Yep, seems that way.
> >
> > file libsvn_ra_svn/client.c, function make_connection():
> > if APR_HAVE_IPV6 is defined, then only ipv6 connections are used. If they
> > fail, no ipv4 connection is tried before giving up.
>
> Interesting...
>
> Reading the docstring for apr_sockaddr_info_get in
> /usr/local/include/apr-1/apr_network_io.h
> makes me believe this could fix it (not tested though...)

It likely won't fix it, sorry for the noise:

<Bert> stsp: I don't think that will fix it.. getaddrinfo() returns
multiple addresses and only one is tried
<stsp> oh, right - I thought it failed at "Unkown hostname" but it fails
at "Can't connect to host"

-- 
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 21:20:13 CET

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.