X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FFTPServer.pm;h=d8ad8b0c919a049f80d9e530237c095c99259153;hp=7c7f3e584b4f0ed0c774013b314aa1113a319f3a;hb=3323ed3c171bc2c59ede9f499eb1ce50d48bde20;hpb=9561f6bd2beb0a165a713ace7a583760f38d154c diff --git a/tests/FTPServer.pm b/tests/FTPServer.pm index 7c7f3e58..d8ad8b0c 100644 --- a/tests/FTPServer.pm +++ b/tests/FTPServer.pm @@ -833,14 +833,14 @@ sub run print STDERR "got a connection from: $client_ipnum\n" if $log; # fork off a process to handle this connection. - my $pid = fork(); - unless (defined $pid) { - warn "fork: $!"; - sleep 5; # Back off in case system is overloaded. - next; - } - - if ($pid == 0) { # Child process. + # my $pid = fork(); + # unless (defined $pid) { + # warn "fork: $!"; + # sleep 5; # Back off in case system is overloaded. + # next; + # } + + if (1) { # Child process. # install signals $SIG{URG} = sub {