changeset 957:0641f83d5721

Tests: fixed exclusive port numbering on win32 platform. To ensure port uniqueness, reuse option was removed for generated TCP sockets.
author Andrey Zelenkov <zelenkov@nginx.com>
date Fri, 24 Jun 2016 00:43:32 +0300
parents 3bc5b72e4377
children 0a87d9bcfb26
files lib/Test/Nginx.pm
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/Test/Nginx.pm
+++ b/lib/Test/Nginx.pm
@@ -322,7 +322,6 @@ sub port {
 		$s_tcp = IO::Socket::INET->new(
 			Proto => 'tcp',
 			LocalAddr => '127.0.0.1:' . $port,
-			Reuse => 1,
 			Listen => 1,
 		) and last;
 	}