git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Problem using curl + c-ares

From
WSWesley Shields <wxs@freebsd.org>
Date
Jun 22, 2012, 02:03 UTC
Message-ID
<20120622020308.GA31477@atarininja.org>

I'm trying to debug a problem that came to my attention when using git to clone a repository over HTTP or HTTPS if curl is built to use the c-ares bindings.

The symptom is well documented at:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/167517

If you run tcpdump while triggering this problem you will see that the bytes for the destination port in the packet for the A record query are swapped. I'm not familiar enough with the git code to debug it fully but I would be happy to provide any information needed to help.

Just using curl on the box works fine so I suspect it's not a problem with curl, but with how git is using curl? I'd appreciate any pointers with this!

Please keep me on CC as I am not subscribed to this list. Thanks!
-- WXS
Next: Daniel Stenberg
Message 1 of 2 in “Problem using curl + c-ares”
  1. Wesley ShieldsJun 22, 2012
  2. Daniel StenbergJun 23, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.