forked from igrigorik/em-synchrony
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- recv and send now behave differently - methods raise the right exceptions at the right time - specs added
- Loading branch information
Showing
2 changed files
with
651 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
e7f2b92
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am testing this pull request to try and pass Mongoid 3 moped driver and their is definitly an improvement on #read and #closed? when it comed to mimicking the TCPSocket behavior.
Maybe it would be a good idea to also add an empty TCPSocket#set_encoding when runned under Ruby 1.9 as this is in the official API