From 8175a52c67fb9dfc9c04a7b0597b680699f43deb Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 28 Jun 2010 08:06:32 +0000 Subject: add preliminary sendfile (1.0.0) gem support This still needs work and lots of cleanup, but the basics are there. The sendfile 1.0.0 RubyGem is now safe to use under MRI 1.8, and is superior to current (1.9.2-preview3) versions of IO.copy_stream for static files in that it supports more platforms and doesn't truncate large files on 32-bit platforms. --- TODO | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'TODO') diff --git a/TODO b/TODO index 00dce85..a6ae16f 100644 --- a/TODO +++ b/TODO @@ -6,6 +6,14 @@ care about. * Split out NeverBlock into NeverBlockEventMachine and NeverBlockReactor NeverBlock will default to one of them (depending on NB upstream). +* allow _OPTIONAL_ splice(2) with DevFdResponse under Linux + (splice is very broken under some older kernels) + +* use IO#sendfile_nonblock for EventMachine/Rev/Revactor/NeverBlock + +* Open file cache (idea from nginx), since sendfile (and IO.copy_stream) + allows pread(2)-style offsets + * Improve test suite coverage. We won't waste cycles with puny unit tests, only integration tests that exercise externally visible parts. -- cgit v1.2.3-24-ge0c7