Tests: fixed exclusive port numbering on win32 platform. To ensure port uniqueness, reuse option was removed for generated TCP sockets.
diff --git a/lib/Test/Nginx.pm b/lib/Test/Nginx.pm index f19bc76..aeb30ad 100644 --- a/lib/Test/Nginx.pm +++ b/lib/Test/Nginx.pm
@@ -322,7 +322,6 @@ $s_tcp = IO::Socket::INET->new( Proto => 'tcp', LocalAddr => '127.0.0.1:' . $port, - Reuse => 1, Listen => 1, ) and last; }