In article <4a464441bf3f7_13bd3907d016634 / redmine.ruby-lang.org>,
Steven Hartland <redmine / ruby-lang.org> writes:
> This I've tracked down to the net/protocol module and the Net::BufferIO::rbuf_fill method which is using a timeout block to wrap the @io.sysread(1024) call. This is clearly an extremely bad way to do this, totally crippling the performance.
There is a reson to use timeout(). It is used to fix
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=265429
Before the fix, IO.select was used in rbuf_fill.
--
Tanaka Akira