Re: git-fetch vs ipv6 routing issues

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel Stenberg
Date: Tuesday, June 3, 2008 - 1:50 pm

On Tue, 3 Jun 2008, James Cloos wrote:


Perhaps, but I thought the git protocol behavior was to dynamicly back off a 
failed connect attempt to try the next? That wouldn't be solvable with any 
preset option. It needs code added to/changed in libcurl.


Eeek. I really disagree with this suggestion. CURLOPT_CONNECT_ONLY means you 
only (TCP or over proxy) connect and nothing more. That would force git to 
implement a lot of HTTP details that libcurl already provides.

If you really really insist on letting git do it and not bring this feature to 
libcurl, then I'd suggest that you first resolve the host, verify it by any 
means you see fit, and then pass the IP to libcurl like in the URL as 
"HTTP://12.23.45.67/blabla" with the correct host name in a custom-provided 
host: header. It'd let you do the resolving magic and let libcurl do the HTTP 
magic. But I wouldn't recommend that either...

-- 

  / daniel.haxx.se - primary libcurl author
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git-fetch vs ipv6 routing issues, James Cloos, (Sat May 31, 10:56 am)
Re: git-fetch vs ipv6 routing issues, Daniel Stenberg, (Sun Jun 1, 12:25 am)
Re: git-fetch vs ipv6 routing issues, James Cloos, (Tue Jun 3, 12:53 pm)
Re: git-fetch vs ipv6 routing issues, Daniel Stenberg, (Tue Jun 3, 1:50 pm)
Re: git-fetch vs ipv6 routing issues, James Cloos, (Tue Jun 3, 4:56 pm)