We weren't using the information it generated, so it had no effect
besides slowing things down with additional DNS traffic. Pointed out
by Christophe Gillette on libsoup-list.
memset (&hints, 0, sizeof (struct addrinfo));
# ifdef AI_ADDRCONFIG
- hints.ai_flags = AI_CANONNAME | AI_ADDRCONFIG;
-# else
- hints.ai_flags = AI_CANONNAME;
+ hints.ai_flags = AI_ADDRCONFIG;
# endif
hints.ai_family = PF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;