Quoting rakaur <rakaur / gmail.com>:

> SSLSocket#read doesn't behave as it should. If you specify a size
> (as I did earlier, 8192) it blocks until that many bytes have been
> read,

I would expect that behavior from SSLSocket#read -- did you mean
SSLSocket#recv instead?

-mental