Forward upstream team response: -------- Original message -------- Subject: Re: [rt.cpan.org #85308] applications die() because of SIGCHLD vs. SIGCLD confusion Date : Wed, 15 May 2013 09:07:38 -0400 >From : Paul Seamons via RT <bug-net-ser...@rt.cpan.org> Reply To : bug-net-ser...@rt.cpan.org To : x.guim...@free.fr
<URL: https://rt.cpan.org/Ticket/Display.html?id=85308 > Likely the better solution would be to change that code to this: $SIG{$sig} = sub{ $Net::Server::SIG::_SIG{$sig} = 1; }; That way, perl remains consistent and whatever awry value is being returned on your platform is ignored. I am a bit interested to know what platform you are running on. We have thousands of people running Net::Server on many platforms and you are the first to report the error. I personally have had some servers in use for over a decade, several getting millions of hits a month with spikes to hundreds of connections per second, but have not seen this issue. Either way - I think it is good to make the closure just depend on the value it already knows about at creation. I'm afraid changing it to explicitly look for CLD would break many platforms. So expect the fix in 2.008 which we'll release soon. Paul -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org