HTTP IPv6 support added to the test suite

This commit is contained in:
Daniel Stenberg 2004-12-11 21:41:00 +00:00
parent 1b8ac7c6b5
commit 9b3b7ad22e
11 changed files with 308 additions and 39 deletions

View file

@ -6,6 +6,7 @@ my $verbose=0; # set to 1 for debugging
my $dir=".";
my $port = 8999; # just a default
my $ipv6;
do {
if($ARGV[0] eq "-v") {
$verbose=1;
@ -17,6 +18,9 @@ do {
elsif($ARGV[0] =~ /^(\d+)$/) {
$port = $1;
}
elsif($ARGV[0] =~ /^ipv6/i) {
$ipv6="--ipv6 ";
}
} while(shift @ARGV);
exec("server/sws $port $dir");
exec("server/sws $ipv6$port $dir");