gozer 2004/03/31 14:44:32
Modified: perl-framework/Apache-Test Changes
perl-framework/Apache-Test/lib/Apache TestConfig.pm
TestConfigPerl.pm
Log:
In an attempt to reduce the number of test failures on systems supporting
IPv6 with ipv4-mapped addresses disabled, generated Listen directive now
listen on 0.0.0.0 to force using IPv4 addresses on IPv6 systems until LWP
supports IPv6.
Revision Changes Path
1.115 +3 -0 httpd-test/perl-framework/Apache-Test/Changes
Index: Changes
===================================================================
RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/Changes,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -r1.114 -r1.115
--- Changes 26 Mar 2004 01:17:08 -0000 1.114
+++ Changes 31 Mar 2004 22:44:32 -0000 1.115
@@ -8,6 +8,9 @@
=item 1.10-dev
+Generated Listen directive now listen on 0.0.0.0 to force using
+IPv4 addresses on IPv6 systems until LWP supports IPv6. [Gozer]
+
improved docs [David Wheeler <[EMAIL PROTECTED]>]
Add a virtual method Apache::TestRun::pre_configure, and fix the
1.214 +2 -2
httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm
Index: TestConfig.pm
===================================================================
RCS file:
/home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm,v
retrieving revision 1.213
retrieving revision 1.214
diff -u -r1.213 -r1.214
--- TestConfig.pm 4 Mar 2004 05:51:31 -0000 1.213
+++ TestConfig.pm 31 Mar 2004 22:44:32 -0000 1.214
@@ -1017,7 +1017,7 @@
my @out_config = ();
if ($self->{vhosts}->{$module}->{namebased} < 2) {
#extra config that should go *outside* the <VirtualHost ...>
- @out_config = ([Listen => $vars->{servername} . ':' . $port]);
+ @out_config = ([Listen => '0.0.0.0:' . $port]);
if ($self->{vhosts}->{$module}->{namebased}) {
push @out_config => [NameVirtualHost => "*:$port"];
@@ -1785,7 +1785,7 @@
__DATA__
-Listen @ServerName@:@Port@
+Listen 0.0.0.0:@Port@
ServerRoot "@ServerRoot@"
DocumentRoot "@DocumentRoot@"
1.86 +1 -1
httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigPerl.pm
Index: TestConfigPerl.pm
===================================================================
RCS file:
/home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigPerl.pm,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- TestConfigPerl.pm 16 Mar 2004 03:10:32 -0000 1.85
+++ TestConfigPerl.pm 31 Mar 2004 22:44:32 -0000 1.86
@@ -222,7 +222,7 @@
my($self, $module, $args) = @_;
my $port = $self->new_vhost($module);
my $vars = $self->{vars};
- $self->postamble(Listen => $vars->{servername} . ':' . $port);
+ $self->postamble(Listen => '0.0.0.0:' . $port);
}
my %add_hook_config = (