celluloid / celluloid-io

UNMAINTAINED: See celluloid/celluloid#779 - Evented sockets for Celluloid actors
https://celluloid.io
MIT License
879 stars 93 forks source link

Fixed invalid Errno::EAGAIN handling in Stream#syswrite #126

Closed stopiccot closed 9 years ago

stopiccot commented 9 years ago

Imaginary test:

Looking at FIXME in syswrite i think maybe all this code should be refactored but I wanted my fix to be as small as possible. Also I don't know how to implement unittest for this bug so it's up to you.