From 3a96720e4e0f1d14599b9fae10e210110976e0c5 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 2 Aug 2010 01:24:25 +0000 Subject: revactor: implement sendfile and range support Due to the synchronous nature of Revactor, we can be certain sendfile won't overstep the userspace output buffering done by Rev. --- lib/rainbows/response.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rainbows/response.rb') diff --git a/lib/rainbows/response.rb b/lib/rainbows/response.rb index 36ecbe2..3e196d1 100644 --- a/lib/rainbows/response.rb +++ b/lib/rainbows/response.rb @@ -39,7 +39,7 @@ module Rainbows::Response when :WriterThreadSpawn body_class = Rainbows::WriterThreadSpawn::MySocket range_class = Rainbows::HttpServer - when :EventMachine, :NeverBlock, :Revactor + when :EventMachine, :NeverBlock range_class = nil # :< end return if body_class.included_modules.include?(Body) -- cgit v1.2.3-24-ge0c7