LP#1697029 Log and exit on write to dead child
authorBill Erickson <berickxx@gmail.com>
Fri, 9 Jun 2017 17:01:46 +0000 (13:01 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 8 Sep 2017 19:45:33 +0000 (15:45 -0400)
commitea72acaf798f3fc6cc0aae8d93771c6dc2a21a57
treea06b123565aef974d4e092d029231cf75466a6ca
parent53e7f82b534eef2b513fe31bcb2a9c719a7ee746
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>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
src/perl/lib/OpenSRF/Server.pm