From: LCD 47 <lcd047@gmail.com>
To: Daniel Stenberg <daniel@haxx.se>
Cc: git@vger.kernel.org
Subject: Re: DNS issue when cloning over HTTP and HTTPS
Date: Tue, 18 Jun 2013 02:11:05 +0300 [thread overview]
Message-ID: <20130617231105.GA24069@admin.romednet.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1306180038490.19414@tvnag.unkk.fr>
On 18 June 2013, Daniel Stenberg <daniel@haxx.se> wrote:
> On Tue, 18 Jun 2013, LCD 47 wrote:
>
> > Cloning with the git protocol works as expected.
> >
> >A search on the net shows people having the same problem more than an
> >year ago, and the solution there seems to imply that Git can't cope
> >with async DNS in curl:
> >
> >http://osdir.com/ml/freebsd-ports-bugs/2012-05/msg00095.html
> >
> > Any idea?
>
> It's not a git problem really. When you build libcurl to use c-ares
> for asynch name resolving you unfortunately don't get a really feature
> complete replacement for all stuff the stock synch resolver can do and
> I believe you (and person from that link from last year) experience
> that.
>
> The solution for you is to:
>
> a) rebuild libcurl with another resolving backend (there's a synch and
> threaded asynch one to choose from)
>
> or
>
> b) fix c-ares to work "properly" in this scenario as well
Thank you for the quick and very helpful response. I rebuilt curl
with the threaded resolver, then I rebuilt Git, and now cloning over
HTTP works fine. I'll send a bug report to the maintainers of curl and
Git for my Linux distribution then.
/lcd
prev parent reply other threads:[~2013-06-17 23:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-17 22:23 DNS issue when cloning over HTTP and HTTPS LCD 47
2013-06-17 22:45 ` Daniel Stenberg
2013-06-17 23:11 ` LCD 47 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130617231105.GA24069@admin.romednet.com \
--to=lcd047@gmail.com \
--cc=daniel@haxx.se \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).