Return SIGCHLD handler to DEFAULT for children (perl) user/berick/perl-children-sigchld-default
authorBill Erickson <berick@esilibrary.com>
Wed, 26 Jun 2013 18:51:52 +0000 (14:51 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 26 Jun 2013 20:40:02 +0000 (16:40 -0400)
commit6fc3aa903511ce5b78b51c55354657b82c1259d1
tree2a13acf4e6f87440ac39d98a3a020db4632c9001
parent9bda0431374055bc4bbe440e3f5f8772022f074a
Return 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>
src/perl/lib/OpenSRF/Server.pm