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:58 +0000 (16:29 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 25 Jan 2010 16:29:58 +0000 (16:29 +0000)
commit0a8be9ed4d0b4df44a5ee14fd34c989acc232a36
tree71b1f74eb735b89d6392730b72c41516f6389e6f
parent8422e4ef4528ea857ab481aeeb22360b0e4ec6e0
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/branches/rel_1_2@1902 9efc2488-bf62-4759-914b-345cdb29e865
src/perl/lib/OpenSRF/Transport/SlimJabber/Inbound.pm