Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bail if read_nonblock returns nil. Fixes #1502
The code to perform the wait checking incorrectly assumed that data would return a symbol OR a String. It also returns nil if the socket has been closed. We must therefore deal with that nil by returning nothing.
- Loading branch information