|Think about Loose Coupling|
HTTP-Server-Simple-0.44 tests and undefined $self->hostby Anonymous Monk
|on Apr 07, 2011 at 08:40 UTC||Need Help??|
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have problem with the tests in HTTP-Server-Simple-0.44.
I am using:
This is setup_listener from HTTP-Server-Simple-0.44/lib/HTTP/Server/Simple.pm
When running some of tests, $self->host is undefined and the call to listen does not return (and sometimes get Windows 7 in blocked state). ($self->host with the value '0.0.0.0' used by Plack does also not work.)
Adding this before bind is a workaround
Is this a bug in Windows or what is a proper solution?