Re: git_inetd_server: run git-http-backend using inetd

2014-07-20 Thread Torsten Bögershausen
On 07/20/2014 08:10 AM, Torsten Bögershausen wrote: On 07/19/2014 07:06 PM, Jonathan Nieder wrote: Torsten Bögershausen wrote: Jonathan, (I'm good in searching, but bad in finding) could you point out where the source code for the git package for debian is ? I recently learned about mDNS, and

Re: git_inetd_server: run git-http-backend using inetd

2014-07-19 Thread Torsten Bögershausen
On 07/19/2014 07:06 PM, Jonathan Nieder wrote: Torsten Bögershausen wrote: Jonathan, (I'm good in searching, but bad in finding) could you point out where the source code for the git package for debian is ? I recently learned about mDNS, and will probably do some tests and experiments later, a

Re: git_inetd_server: run git-http-backend using inetd

2014-07-19 Thread Jonathan Nieder
Torsten Bögershausen wrote: > Jonathan, (I'm good in searching, but bad in finding) > could you point out where the source code for the git package for > debian is ? > > I recently learned about mDNS, and will probably do some tests > and experiments later, and would like to test the lookup featur

Re: git_inetd_server: run git-http-backend using inetd

2014-07-18 Thread Torsten Bögershausen
On 07/18/2014 12:10 AM, Jonathan Nieder wrote: Hi, Kyle J. McKay wrote: When I then try to fetch using a "git://host/..." URL where "host" is an mDNS host name, the 0010 patch causes git to attempt to lookup a DNS SRV record on the non-mDNS regular DNS service (a violation of RFC 6762 [4] sect

Re: git_inetd_server: run git-http-backend using inetd

2014-07-18 Thread Kyle J. McKay
On Jul 18, 2014, at 17:19, Jonathan Nieder wrote: Kyle J. McKay wrote: On Jul 18, 2014, at 10:16, Jonathan Nieder wrote: "Git URLs" as described e.g. in git-clone(1) weren't intended to be actual URIs. According to RFC 3968 section 1.1.3: "A URI can be further classified as a locator, a nam

Re: git_inetd_server: run git-http-backend using inetd

2014-07-18 Thread Jonathan Nieder
Kyle J. McKay wrote: > On Jul 18, 2014, at 10:16, Jonathan Nieder wrote: >> Kyle J. McKay wrote: >>> You might also want to take a look at [1] which suggests that when >>> doing SRV lookups for URLs they should be done regardless of whether >>> or not a port number is present (which then eliminate

Re: git_inetd_server: run git-http-backend using inetd

2014-07-18 Thread Kyle J. McKay
On Jul 18, 2014, at 10:16, Jonathan Nieder wrote: Kyle J. McKay wrote: You might also want to take a look at [1] which suggests that when doing SRV lookups for URLs they should be done regardless of whether or not a port number is present (which then eliminates the RFC 3986 issue the current S

Re: git_inetd_server: run git-http-backend using inetd

2014-07-18 Thread Jonathan Nieder
Kyle J. McKay wrote: > You might also want to take a look at [1] which suggests that when > doing SRV lookups for URLs they should be done regardless of whether > or not a port number is present (which then eliminates the RFC 3986 > issue the current SRV lookup code has). "Git URLs" as described

Re: git_inetd_server: run git-http-backend using inetd

2014-07-17 Thread Kyle J. McKay
On Jul 17, 2014, at 19:22, Jonathan Nieder wrote: Thanks for these details. I'll file a bug and mull it over some more. RFC 6762 makes it clear that what the package is currently doing is wrong. Given that Debian's libc knows nothing about mdns on its own, I think I'll need to parse resolv.co

Re: git_inetd_server: run git-http-backend using inetd

2014-07-17 Thread Jonathan Nieder
Kyle J. McKay wrote: > On Jul 17, 2014, at 15:10, Jonathan Nieder wrote: >> It was added to respond to a feature request within Debian but it is >> intended to eventually go upstream. I'm glad you found this issue >> before that could happen. :) > > Is there some reason the patch is not opt-in at

Re: git_inetd_server: run git-http-backend using inetd

2014-07-17 Thread Kyle J. McKay
On Jul 17, 2014, at 15:10, Jonathan Nieder wrote: Hi, Kyle J. McKay wrote: When I then try to fetch using a "git://host/..." URL where "host" is an mDNS host name, the 0010 patch causes git to attempt to lookup a DNS SRV record on the non-mDNS regular DNS service (a violation of RFC 6762 [4] s

Re: git_inetd_server: run git-http-backend using inetd

2014-07-17 Thread Jonathan Nieder
Hi, Kyle J. McKay wrote: > When I then try to fetch using a "git://host/..." URL where "host" > is an mDNS host name, the 0010 patch causes git to attempt to lookup > a DNS SRV record on the non-mDNS regular DNS service (a violation of > RFC 6762 [4] section 22) and this is what has to time out b