diff fastcgi.t @ 45:d68b85def521

Tests: use 127.0.0.1 instead of localhost. Name 'localhost' is ambiguous if ipv6 present on system.
author Maxim Dounin <mdounin@mdounin.ru>
date Sun, 02 Nov 2008 15:01:41 +0300
parents daa295331acd
children 726c3c2a8b8c
line wrap: on
line diff
--- a/fastcgi.t
+++ b/fastcgi.t
@@ -42,7 +42,7 @@ http {
     proxy_temp_path        %%TESTDIR%%/proxy_temp;
 
     server {
-        listen       localhost:8080;
+        listen       127.0.0.1:8080;
         server_name  localhost;
 
         location / {
@@ -75,7 +75,7 @@ sub fastcgi_daemon {
 	while( $request->Accept() >= 0 ) {
 		$count++;
 		print <<EOF;
-Location: http://localhost:8080/redirect
+Location: http://127.0.0.1:8080/redirect
 Content-Type: text/html
 
 SEE-THIS