]> git.evergreen-ils.org Git - working/OpenSRF.git/commit
LP1204123 Set SIGCHLD handler to DEFAULT for children (perl)
authorBill Erickson <berick@esilibrary.com>
Wed, 26 Jun 2013 18:51:52 +0000 (14:51 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 4 Sep 2013 15:07:58 +0000 (11:07 -0400)
commitc69aced833683b5256554330aa652f3dd7556d10
tree96db6a4e8863bff424128d91659c4515ab587c6b
parente4a6a624ff3c8cbcc33c0b6f27f65c2a51c5471c
LP1204123 Set SIGCHLD handler to DEFAULT for children (perl)

Remove the special SIGCHLD handler applied to the parent/listener
process from spawned child processes (drones) by setting child handler to
DEFAULT.  Otherwise, if an OpenSRF drone process spawns a sub-process,
the drone will execute the SIGCHLD handler meant for the Listener when
the sub-process dies, wherein hijinks ensue.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
src/perl/lib/OpenSRF/Server.pm