mirror of
https://github.com/curl/curl.git
synced 2026-04-15 06:21:40 +03:00
HTTP IPv6 support added to the test suite
This commit is contained in:
parent
1b8ac7c6b5
commit
9b3b7ad22e
11 changed files with 308 additions and 39 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue