about summary refs log tree commit homepage
path: root/lib/rainbows/rev/core.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/rev/core.rb')
-rw-r--r--lib/rainbows/rev/core.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rainbows/rev/core.rb b/lib/rainbows/rev/core.rb
index 7457f12..2488cf2 100644
--- a/lib/rainbows/rev/core.rb
+++ b/lib/rainbows/rev/core.rb
@@ -23,6 +23,8 @@ module Rainbows
       # given a INT, QUIT, or TERM signal)
       def worker_loop(worker)
         Rainbows::HttpResponse.setup(Rainbows::Rev::Client)
+        require 'rainbows/rev/sendfile'
+        Rainbows::Rev::Client.__send__(:include, Rainbows::Rev::Sendfile)
         init_worker_process(worker)
         mod = self.class.const_get(@use)
         rloop = Server.const_set(:LOOP, ::Rev::Loop.default)