aboutsummaryrefslogtreecommitdiff
path: root/lib/hostthre.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-11-08 14:45:58 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-11-08 14:45:58 +0000
commitcab59b4c3209baa5f067b5c2339748a4669b3662 (patch)
tree10b2364a98396de3ecfb7016efa7bf73842cf35c /lib/hostthre.c
parent931eff89f52994365e20c8b45fd7498933cbf5be (diff)
Removed the use of AI_CANONNAME in the IPv6-enabled resolver functions since
we really have no use for reverse lookups of the address. I truly hope these are the last reverse lookups we had lingering in the code!
Diffstat (limited to 'lib/hostthre.c')
-rw-r--r--lib/hostthre.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/hostthre.c b/lib/hostthre.c
index eb8e02e12..028a36c61 100644
--- a/lib/hostthre.c
+++ b/lib/hostthre.c
@@ -819,7 +819,9 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
memset(&hints, 0, sizeof(hints));
hints.ai_family = pf;
hints.ai_socktype = conn->socktype;
+#if 0 /* removed nov 8 2005 before 7.15.1 */
hints.ai_flags = AI_CANONNAME;
+#endif
itoa(port, sbuf, 10);
/* fire up a new resolver thread! */