diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-12-11 21:41:00 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-12-11 21:41:00 +0000 |
commit | 9b3b7ad22ea6d677e2e50f3a7d1c41214b49ae29 (patch) | |
tree | c73a2d417536cbaff96a99369fe7f063f8db90e2 /tests/httpserver.pl | |
parent | 1b8ac7c6b5c95a74ea49b2aa6d4b4650c401e95e (diff) | |
download | curl-9b3b7ad22ea6d677e2e50f3a7d1c41214b49ae29.tar.gz |
HTTP IPv6 support added to the test suite
Diffstat (limited to 'tests/httpserver.pl')
-rwxr-xr-x | tests/httpserver.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/httpserver.pl b/tests/httpserver.pl index d458a35c2..bdd21f9a8 100755 --- a/tests/httpserver.pl +++ b/tests/httpserver.pl @@ -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"); |