threads / discuss / 30863

Problem using curl + c-ares

Subject: Problem using curl + c-ares

## tl;dr

2 messages between Jun 22, 2012 and Jun 23, 2012.

replies: 1people: 2as markdown or json

Wesley Shields· Jun 22, 2012, 02:03 UTC · lore

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
Daniel Stenberg· Jun 23, 2012, 20:41 UTC · re: Wesley Shields · lore

Re: Problem using curl + c-ares

On Thu, 21 Jun 2012, Wesley Shields wrote:
Show 7 quoted lines
> 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

This is most probably one of the c-ares bugs that were already fixed in the 1.9.x releases.

-- 
  / daniel.haxx.se

← back to recent threads