]> git.evergreen-ils.org Git - OpenSRF.git/commit
Add SIGPIPE retry handling to child data sysread
authorBill Erickson <berick@esilibrary.com>
Fri, 28 Oct 2011 15:33:24 +0000 (11:33 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 28 Oct 2011 15:51:48 +0000 (11:51 -0400)
commitab63faa85e349020774e0b3297a84370281d573f
tree2929db12007e87be4a7e7910b3efaf478ea64f1c
parent78ad2cc45c408a28ecb103099827659162f88d2b
Add SIGPIPE retry handling to child data sysread

Similar to the SIGPIPE retry logic wrapped around the parent process'
syswrite call (for sending data to a child process), protect the child's
sysread call (as it reads data from the parent).  In pre-2.0, the
sysread step was handled by Net::Server, but now we need to protect it
ourselves.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
src/perl/lib/OpenSRF/Server.pm