From: TJ S. <cas...@us...> - 2011-09-24 01:01:05
|
Update of /cvsroot/proftp/proftpd/tests/t/lib/ProFTPD/Tests/Config In directory vz-cvs-3.sog:/tmp/cvs-serv17690/tests/t/lib/ProFTPD/Tests/Config Modified Files: TimeoutNoTransfer.pm Log Message: More places to catch data connection timeouts. Index: TimeoutNoTransfer.pm =================================================================== RCS file: /cvsroot/proftp/proftpd/tests/t/lib/ProFTPD/Tests/Config/TimeoutNoTransfer.pm,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- TimeoutNoTransfer.pm 18 Oct 2010 20:52:31 -0000 1.5 +++ TimeoutNoTransfer.pm 24 Sep 2011 01:01:03 -0000 1.6 @@ -121,7 +121,7 @@ my $buf; $conn->read($buf, 8192, 30); - $conn->close(); + eval { $conn->close() }; }; if ($@) { |