about summary refs log tree commit homepage
path: root/lib/rainbows/coolio/core.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-01-07 17:10:46 -0800
committerEric Wong <normalperson@yhbt.net>2011-01-07 18:08:25 -0800
commit4747aa0d07950b9abbb036bc02491c4639dc9f80 (patch)
tree997785e3ed31edd70d6a8d6d8c1910708c4f0094 /lib/rainbows/coolio/core.rb
parent37ec9ef3272931f42b4b0bb3f04a3855a8702a05 (diff)
downloadrainbows-4747aa0d07950b9abbb036bc02491c4639dc9f80.tar.gz
* lazy load uncommon classes: StreamFile, Response{Chunk,}Pipe
* remove needless rainbows/coolio/sendfile module since we're
  lazily loaded now along with the rest of rainbows/coolio/client
  and only in the worker.
Diffstat (limited to 'lib/rainbows/coolio/core.rb')
-rw-r--r--lib/rainbows/coolio/core.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/rainbows/coolio/core.rb b/lib/rainbows/coolio/core.rb
index b55cf7f..04c5baa 100644
--- a/lib/rainbows/coolio/core.rb
+++ b/lib/rainbows/coolio/core.rb
@@ -8,8 +8,6 @@ module Rainbows::Coolio::Core
   # given a INT, QUIT, or TERM signal)
   def worker_loop(worker)
     Rainbows::Response.setup(Rainbows::Coolio::Client)
-    require 'rainbows/coolio/sendfile'
-    Rainbows::Coolio::Client.__send__(:include, Rainbows::Coolio::Sendfile)
     init_worker_process(worker)
     mod = Rainbows.const_get(@use)
     rloop = Rainbows::Coolio::Server.const_set(:LOOP, Coolio::Loop.default)