Skip Menu |

This queue is for tickets about the IO-Async CPAN distribution.

Report information
The Basics
Id: 94980
Status: open
Priority: 0/
Queue: IO-Async

People
Owner: Nobody in particular
Requestors: MITHALDU [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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.
I believe this failure may be due to a bug in Socket; try again with Socket 2.014 installed, and see if that fixes it. If so, I'll call it a version requirement on Windows and bump it -- Paul Evans