Skip Menu |
 

This queue is for tickets about the Net-FTPServer CPAN distribution.

Report information
The Basics
Id: 81136
Status: resolved
Priority: 0/
Queue: Net-FTPServer

People
Owner: ryochin [...] cpan.org
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.123
Fixed in: (no value)



Subject: 110loadinmem.t hangs on Windows
Download (untitled) / with headers
text/plain 1.9k
Strawberry perl 5.14.0 and 5.16.1 1..1 # Running under perl version 5.014000 for MSWin32 # Current time local: Tue Nov 13 15:31:21 2012 # Current time GMT: Tue Nov 13 13:31:21 2012 # Using Test.pm version 1.25_02 No such signal: SIGURG at D:\06\Net-FTPServer-1.123\blib\lib/Net/FTPServer.pm line 2371. Resource limit RLIMIT_DATA cannot be set. This may be because the BSD::Resource module is not available on your system, or it may be because your operating system does not support RLIMIT_DATA. Without resource limits, the FTP server may be open to denial of service (DoS) attacks. The real error was: at D:\06\Net-FTPServer-1.123\blib\lib/Net/FTPServer.pm line 3270. Resource limit RLIMIT_NPROC cannot be set. This may be because the BSD::Resource module is not available on your system, or it may be because your operating system does not support RLIMIT_NPROC. Without resource limits, the FTP server may be open to denial of service (DoS) attacks. The real error was: at D:\06\Net-FTPServer-1.123\blib\lib/Net/FTPServer.pm line 3270. Resource limit RLIMIT_NOFILE cannot be set. This may be because the BSD::Resource module is not available on your system, or it may be because your operating system does not support RLIMIT_NOFILE. Without resource limits, the FTP server may be open to denial of service (DoS) attacks. The real error was: at D:\06\Net-FTPServer-1.123\blib\lib/Net/FTPServer.pm line 3270. The getppid function is unimplemented at D:\06\Net-FTPServer-1.123\blib\lib/Net/FTPServer.pm line 2884, <STDIN> line 1. at D:\06\Net-FTPServer-1.123\blib\lib/Net/FTPServer.pm line 2366, <STDIN> line 1. Net::FTPServer::__ANON__('The getppid function is unimplemented at D:\06\Net-FTPServer-...') called at D:\06\Net-FTPServer-1.123\blib\lib/Net/FTPServer.pm line 2884 Net::FTPServer::run('Net::FTPServer::InMem::Server', 'ARRAY(0x13c2cac)') called at t/110loadinmem.t line 26 Terminating on signal SIGINT(2) -- Alexandr Ciornii, http://chorny.net
Download (untitled) / with headers
text/plain 148b
This module doesn't support Win32 because getppid() is not implemented on this platform, for lack of parent-child process relationship. (so I think)
Download (untitled) / with headers
text/plain 494b
On Thu Nov 15 07:35:18 2012, RYOCHIN wrote: Show quoted text
> This module doesn't support Win32 because getppid() is not implemented > on this platform, for lack of parent-child process relationship. (so I > think)
IMHO, it would be possible to emulate it, by storing process id before fork. If you don't want to support Windows (it will much be harder than just emulating getppid), you should add die "No support for OS" if $^O eq 'MSWin32'; to Makefile.PL/Build.PL -- Alexandr Ciornii, http://chorny.net


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.