mirror of
https://github.com/curl/curl.git
synced 2026-04-15 04:31:40 +03:00
Remove the --fork option of sws, since it makes refactoring to use poll more complicated and should
be redundant once we poll
This commit is contained in:
parent
1f8518c5d9
commit
76ba591957
3 changed files with 1 additions and 56 deletions
|
|
@ -42,7 +42,6 @@ my $pidfile; # http server pid file
|
|||
my $logfile; # http server log file
|
||||
my $connect; # IP to connect to on CONNECT
|
||||
my $srcdir;
|
||||
my $fork;
|
||||
my $gopher = 0;
|
||||
|
||||
my $flags = "";
|
||||
|
|
@ -98,9 +97,6 @@ while(@ARGV) {
|
|||
elsif($ARGV[0] eq '--verbose') {
|
||||
$verbose = 1;
|
||||
}
|
||||
elsif($ARGV[0] eq '--fork') {
|
||||
$fork = $ARGV[0];
|
||||
}
|
||||
else {
|
||||
print STDERR "\nWarning: httpserver.pl unknown parameter: $ARGV[0]\n";
|
||||
}
|
||||
|
|
@ -119,7 +115,6 @@ if(!$logfile) {
|
|||
|
||||
$flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
|
||||
$flags .= "--gopher " if($gopher);
|
||||
$flags .= "--fork " if(defined($fork));
|
||||
$flags .= "--connect $connect " if($connect);
|
||||
$flags .= "--ipv$ipvnum --port $port --srcdir \"$srcdir\"";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue