geemus/excon — pull request #95 by evanphx (2011-12-16 18:45:29+00:00)
Title: Fix odd #write_nonblock behavior observed

This adds some defensive checks that #write_nonblock isn't being weird.
It has been observed that apparently OpenSSL's #write_nonblock can
return a number LARGER than the size of the input buffer. Super weird.
So we add a couple of extra checks to compensate for that.