diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-08-02 01:24:25 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-08-02 01:29:31 +0000 |
commit | 3a96720e4e0f1d14599b9fae10e210110976e0c5 (patch) | |
tree | 75ef1525ad9e615eb634b84aa811e64ed332cd99 /lib/rainbows/response.rb | |
parent | 44f66366245c9fbe065ba8cd95ca704c05c53639 (diff) | |
download | rainbows-3a96720e4e0f1d14599b9fae10e210110976e0c5.tar.gz |
Due to the synchronous nature of Revactor, we can be certain sendfile won't overstep the userspace output buffering done by Rev.
Diffstat (limited to 'lib/rainbows/response.rb')
-rw-r--r-- | lib/rainbows/response.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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) |