LP#1697029 Log and exit on write to dead child user/berick/lp1697029-avoid-dead-child-write
authorBill Erickson <berickxx@gmail.com>
Fri, 9 Jun 2017 17:01:46 +0000 (13:01 -0400)
committerBill Erickson <berickxx@gmail.com>
Wed, 2 Aug 2017 21:09:11 +0000 (17:09 -0400)
commit3e63aecbb6a53332a9d1b7618caaa5f995a25a04
tree161f3f388a755614780439cccec3d1235527088d
parent716b674a5197f9ec70091c9f3dfa3eabca3bbe9d
LP#1697029 Log and exit on write to dead child

Confirm that a child process is alive just before attempting to write to
its pipe.  If the child process is dead, log the error, then drop the
message and move on.  This allows the parent to continue servicing
future requests.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
src/perl/lib/OpenSRF/Server.pm