]> git.evergreen-ils.org Git - OpenSRF.git/commit
Added some fault tolerance to the inbound-to-unixserver message handoff process....
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 25 Jan 2010 16:31:41 +0000 (16:31 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 25 Jan 2010 16:31:41 +0000 (16:31 +0000)
commit7ab7db29f76f7c7f79c8db1152a3696faa7f0fa1
tree3fb5a304a3011dfb243b506cf831a54a7ef09d0b
parent7f51965c610f22105434285888b5e9474bf5dbfe
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_0@1903 9efc2488-bf62-4759-914b-345cdb29e865
src/perl/lib/OpenSRF/Transport/SlimJabber/Inbound.pm