pika/pika — pull request #482 by husio (2014-06-19 12:19:07+00:00)
Title: do not use socket.sendall

`socket.sendall` is not compatible with non blocking connections. Use
`socket.send` instead and manually slice the data frame as needed.

I don't have a test case for it, because cannot think of any good way of reproducing the error.

Related to https://github.com/pika/pika/issues/481