Fixed the FTP server read stuff when waiting for a connect after a PASV/EPSV.

Made the ftp server use the passed in pidfile name, and made runtests.pl
pass it in properly.
This commit is contained in:
Daniel Stenberg
2005-05-02 10:22:09 +00:00
parent 9a3e0e52cb
commit 669ebb5f71
2 changed files with 10 additions and 5 deletions

View File

@@ -553,7 +553,7 @@ sub runftpserver {
if($ipv6) {
$flag .="--ipv6 ";
}
my $cmd="$perl $srcdir/ftpserver.pl $flag --port $port";
my $cmd="$perl $srcdir/ftpserver.pl --pidfile $pidfile $flag --port $port";
my $ftppid = startnew($cmd);