about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-12-22 13:29:09 -0800
committerEric Wong <normalperson@yhbt.net>2009-12-22 13:29:09 -0800
commitca4c0b2938669f96eb0d71a0911275abb247e418 (patch)
tree53bd071650c67b168595d84a2bc47e8b671a132b
parent505e0f7e54e6b0ea0823af92d339a4bffdb51dc1 (diff)
downloadrainbows-ca4c0b2938669f96eb0d71a0911275abb247e418.tar.gz
-rw-r--r--lib/rainbows/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/base.rb b/lib/rainbows/base.rb
index 20c7681..a29a5bb 100644
--- a/lib/rainbows/base.rb
+++ b/lib/rainbows/base.rb
@@ -17,7 +17,7 @@ module Rainbows
       # avoid spurious wakeups and blocking-accept() with 1.8 green threads
       if RUBY_VERSION.to_f < 1.9
         require "io/nonblock"
-        LISTENERS.each { |l| l.nonblock = true }
+        HttpServer::LISTENERS.each { |l| l.nonblock = true }
       end
 
       # we're don't use the self-pipe mechanism in the Rainbows! worker