about summary refs log tree commit homepage
path: root/lib/rainbows/revactor.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-03-28 17:35:10 -0700
committerEric Wong <normalperson@yhbt.net>2010-03-28 17:35:10 -0700
commitb04d465d65f896290d36538181d91dd264d10575 (patch)
tree6e00e4ec3421c07713da4d5678c231a5f2b19d73 /lib/rainbows/revactor.rb
parent12a4c53a47bb0c7bef5e2df732fa02532a969a54 (diff)
downloadrainbows-b04d465d65f896290d36538181d91dd264d10575.tar.gz
Every concurrency model does this the same way.

This removes the Rainbows::Const::LOCALHOST constant and
may break some existing apps that rely on it.
Diffstat (limited to 'lib/rainbows/revactor.rb')
-rw-r--r--lib/rainbows/revactor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/revactor.rb b/lib/rainbows/revactor.rb
index ab65184..ed08f2c 100644
--- a/lib/rainbows/revactor.rb
+++ b/lib/rainbows/revactor.rb
@@ -37,7 +37,7 @@ module Rainbows
         rd_args << RD_ARGS
         client.remote_addr
       else
-        LOCALHOST
+        Unicorn::HttpRequest::LOCALHOST
       end
       buf = client.read(*rd_args)
       hp = HttpParser.new