diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-04-16 15:03:52 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-04-16 15:03:52 +0200 |
commit | f3d4b17a9cf4b92778a945c00a9df9b4856b97f6 (patch) | |
tree | a3b031bdea0d114d7dbf333bf685a9b632b0e7af /lib/hostip6.c | |
parent | 5bd38b70ddcfb305fa6ee133827f35009eef4135 (diff) | |
download | curl-f3d4b17a9cf4b92778a945c00a9df9b4856b97f6.tar.gz |
resolvers: no more using AI_CANONNAME
No resolver anymore needs to use AI_CANONNAME and do reverse
lookups. We should work hard to avoid having code that relies on
it.
Diffstat (limited to 'lib/hostip6.c')
-rw-r--r-- | lib/hostip6.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/hostip6.c b/lib/hostip6.c index fb3ad0c08..7d0a9122f 100644 --- a/lib/hostip6.c +++ b/lib/hostip6.c @@ -213,11 +213,6 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn, /* the given address is numerical only, prevent a reverse lookup */ hints.ai_flags = AI_NUMERICHOST; } -#ifdef HAVE_GSSAPI - if(conn->data->set.krb) - /* if krb is used, we (might) need the canonical host name */ - hints.ai_flags |= AI_CANONNAME; -#endif if(port) { snprintf(sbuf, sizeof(sbuf), "%d", port); |