Skip Menu |

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

Report information
The Basics
Id: 41503
Status: resolved
Priority: 0/
Queue: Net-Server

People
Owner: Nobody in particular
Requestors: CATONE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: [PATCH] translate optional list of signals to children
Looks like there is no ability to send signal to main process and have it retranslated to all children. So, for example, if you need to rotate logs - either you have to send signals to all processes, either your logs will not be properly rotated and/or recreated. This patch introduces new configuration option - 'sig_passthrough', which is either a scalar, either an arrayref, filled with signal names. Signals listed in sig_passthrough will be retranslated to all children once received in parent process, and if there was a sig handler in parent - it will be executed also. Signals 'PIPE', 'INT', 'TERM', 'QUIT', 'HUP', 'CHLD' will keep their original behavior. Patch was tested in real environment, but only on one installation, so everything is possible.
Subject: patch-Net-Server-PreFork
Download patch-Net-Server-PreFork
application/octet-stream 2k

Message body not shown because it is not plain text.

Thank you for the code - and sorry it took so long to get there. This code with some variation is now part of the 2.000 release.