Added some fault tolerance to the inbound-to-unixserver message handoff process....
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 25 Jan 2010 16:29:19 +0000 (16:29 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 25 Jan 2010 16:29:19 +0000 (16:29 +0000)
commitf44ef93ff860a43f49a8dc54da8d452afad7620d
tree1084e792c7b76d2c313c6b9bedc5a286268f55b0
parenta9e568997d7c89280834bf1a124a6cfda955d9bc
Added some fault tolerance to the inbound-to-unixserver message handoff process.  In some conditions, the unix socket will result in sigpipe (anecdotally, seen more oftenvirtualized environments).  these changes add a call to select before writing to the socket to check for socket availability and add a sigpipe handler that forces the inbound process to wait a brief period of time before trying the delivery again

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1901 9efc2488-bf62-4759-914b-345cdb29e865
src/perl/lib/OpenSRF/Transport/SlimJabber/Inbound.pm