dlecocq/nsq-py — pull request #30 by dlecocq (2014-07-23 20:16:26+00:00)
Title: SSL_ERROR_WANT_WRITE sends same buffer

It turns out that if SSL_ERROR_WANT_WRITE is raises, on the next send attempt, we're supposed to send the same buffer on the socket. So in that event, we save it out to `_out_buffer` and preferentially use it on the next `flush`.