On Tue, Sep 08, 2009 at 11:35:10AM -0700, Steve Langasek wrote: > On Tue, Sep 08, 2009 at 07:58:21PM +0200, Bas Wijnen wrote: > > On Mon, Sep 07, 2009 at 07:44:44AM +0200, Roland Clobus wrote: > > > I've applied a patch to the subversion repository upstream. An incoming > > > connection will now correctly try all available protocols. > > > > On my computer (with kernel 2.6.30, and localhost mentioned > > > in /etc/hosts for 127.0.0.1 and ::1 netstat reports that the server is > > > running on IPv4. The clients will connect correctly. > > > While this solves the problem, it doesn't use the better solution that > > Steve suggested (if I understand you correctly), namely to make the > > server IPv6-capable. That shouldn't be hard at all, I think. It is > > probably just a matter of changing old gethostbyname calls into > > getaddrinfo calls. > > Unfortunately, no; it's already using getaddrinfo(), but doesn't iterate the > results to ensure we're listening on all the addresses in question.
That's not unfortunate at all. ;-) It means that Roland's patch probably is the clean solution that we want. If you mean it is unfortunate that good programs need this looping, then I agree with you. :-) Thanks, Bas
signature.asc
Description: Digital signature