- Andreas Schuldei improved Phil Blundell's patch for IPv6 using c-ares, and I

edited it slightly. Now you should be able to use IPv6 addresses fine even
  with libcurl built to use c-ares.
This commit is contained in:
Daniel Stenberg
2008-07-09 18:39:49 +00:00
parent d4b253ba3e
commit 0cd8840dba
6 changed files with 214 additions and 95 deletions

View File

@@ -104,6 +104,10 @@
*/
#ifdef CURLRES_IPV6
typedef struct addrinfo Curl_addrinfo;
#ifdef CURLRES_ARES
Curl_addrinfo *Curl_ip2addr6(struct in6_addr *in,
const char *hostname, int port);
#endif
#else
/* OK, so some ipv4-only include tree probably have the addrinfo struct, but
to work even on those that don't, we provide our own look-alike! */