Bugs item #2987196, was opened at 2010-04-14 18:08
Message generated for change (Tracker Item Submitted) made by aitu4iu1
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2987196&group_id=976
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: name resolving/DNS
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: rainer canavan (aitu4iu1)
Assigned to: Daniel Stenberg (bagder)
Summary: Curl_ipv4_resolve_r unneccesarily sets AI_CANONNAME
Initial Comment:
Since 7.20.0, curl performs unnecessary (for most cases anyway) reverse-lookups, which in some cases cause the entire request to fail due to a timeout. Specifically, in lib/hostip4.c Curl_ipv4_resolve_r, hints.ai_flags is set unconditionally to AI_CANONNAME. This is explicitly disabled in hostthre.c (#if 0 /* removed nov 8 2005 before 7.15.1 */) and enabled in hostipv6 only when HAVE_GSSAPI is enabled and the request known to use kerberos.
OS used is debian 5.0.4 on x86, ipv6 is explicitly disabled via --disable-ipv6.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2987196&group_id=976
Received on 2010-04-14