Skip to contentSkip to conversation

Problem using curl + c-ares

DISCUSSION Wesley Shields 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 5 lines · Wesley Shields

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.

Signature · 1 line
 / daniel.haxx.se