diff proxy-noclose.t @ 44:daa295331acd

Tests: don't bind backend daemons to *, use 127.0.0.1 instead.
author Maxim Dounin <mdounin@mdounin.ru>
date Sun, 02 Nov 2008 03:13:49 +0300
parents 7bf0e8a1d66c
children d68b85def521
line wrap: on
line diff
--- a/proxy-noclose.t
+++ b/proxy-noclose.t
@@ -93,7 +93,7 @@ like(http_get('/uselen'), qr/SEE-THIS/, 
 sub http_noclose_daemon {
 	my $server = IO::Socket::INET->new(
         	Proto => 'tcp',
-        	LocalPort => 8081,
+        	LocalAddr => '127.0.0.1:8081',
         	Listen => 5,
         	Reuse => 1
 	)