tpjg/goriakpbc — pull request #12 by hukeli (2012-12-26 11:00:55+00:00)
Title: Fix deadlock and reconnect when pipe is broken

Currently when the connection is broken, making a request would deadlock the client. This patch tries to fix that and additionally allows reconnect after a broken pipe error is met. I've tested it and should work (due to tcp buffering it might take a few writes to trigger a EPIPE).