From: Toby DiPasquale Date: 2006-03-25T04:25:58+09:00 Subject: Re: socket_sendfile Eric Hodel wrote: > It isn't as easy to install as a gem is. Given. > It doesn't work well with non-blocking sockets on FreeBSD. Handling > it in Ruby is too annoying to be worthwhile. Thanks for the first suggestions for improvements to ruby-sendfile. I will fix it over the weekend and make a gem out of it. That way Linux and Solaris users won't be left out, as I had originally intended they not be. P.S. In your test suite for socket_sendfile, you can use the IO#nonblock= call by requiring 'io/nonblock' instead of having to explicitly call fcntl. Makes the code more readable, IMO. -- Toby DiPasquale -- Posted via http://www.ruby-forum.com/.