drbrain/net-http-persistent — Issue #12: faster.rb should handle Errno::EAGAIN
Author: alwyn
Created: 2012-01-12 16:31:34+00:00
State: open

The non-blocking io implementations of ruby and jruby throw EAGAIN when there is no data to be read.

faster.rb should handle EAGAIN in the same manner as it is currently handling EWOULDBLOCK to resolve the issue. I've looked at the original patch and it did contain EAGAIN.