On Tue, May 24, 2011 at 15:22:55 -0500, Jonathan Nieder wrote:

> Package: git
> Version: 1:1.7.5.1-1
> Severity: wishlist
> Tags: upstream
> 
> Hi,
> 
> As rfc2782 explains, SRV records allow administrators "to use serveral
> servers for a single domain, to move services from host to host with
> little fuss, and to designate some hosts as primary servers for a
> service and others as backups".  Julien Cristau noticed that in the
> recent alioth move that second part would have been very handy (since
> the git protocol doesn't include a concept of redirects).
> 
> Sadly, getaddrinfo does not resolve SRV records automatically.
> Pointers to a simple API that does not require linking to an
> additional library (to avoid hurting git startup time) would be
> welcome.  A quick RFC on the git list (please cc Jeff, Ilari, Shawn,
> and me when doing so) would also be very welcome.
> 
I played with this a bit tonight, came up with
http://people.debian.org/~jcristau/git-srv-hack.diff which seems to work
for me.  In case somebody wants to test/polish it up...

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to