Subject: | 50resolver.t fails because of AI_NUMERICHOST on windows |
The test '$resolver->getaddrinfo on numeric host/service is synchronous' sets up some data with the following call:
my ( $lo_err, @lo_addrs ) = getaddrinfo( "127.0.0.1", "80", { socktype => SOCK_STREAM } );
It then compares that against data generated at line 323 in Resolver.pm in code that amounts to:
getaddrinfo( "127.0.0.1", "80", { socktype => SOCK_STREAM, flags => AI_NUMERICHOST } );
The flag causes the call to fail with "nodename nor servname provided, or not known". Removal of the flag causes the test to pass.