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:
Joe Mason 2012-08-01 13:22:02 -04:00
parent 1f8518c5d9
commit 76ba591957
3 changed files with 1 additions and 56 deletions

View file

@ -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\"";