Jun-ichiro itojun Hagino <itojun@itojun.org>:
authorDaniel Stenberg <daniel@haxx.se>
Fri, 15 Mar 2002 09:54:30 +0000 (09:54 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 15 Mar 2002 09:54:30 +0000 (09:54 +0000)
commitfb29529a52cd4d889173e30d50ed08cc05dee198
tree909093fd2afdcc6d71455db4d775b36b40531c59
parent3cd267307764a979df61618540e067d147a63feb
Jun-ichiro itojun Hagino <itojun@itojun.org>:

Now first check if IPv6 is supported, then use PF_UNSPEC. If not, use PF_INET.
It'll solve both the "slow name lookup" problem on IPv4 and still work fine on
IPv6 hosts.

Bug report #530204 has more details:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=530204&group_id=976
lib/hostip.c