summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-11-17 11:20:02 -0800
committerEric Wong <normalperson@yhbt.net>2010-11-17 11:20:02 -0800
commit390e351dd1283d4c80a12b744b1327fff091a141 (patch)
tree2c715cfe63714b6b0903e0edb27f24dfcf1fb068
parent01ae51fa5fda40a63277b0d1189925fb209c75a9 (diff)
"Unicorn" is no longer in the default constant resolution
namespace.
-rw-r--r--lib/unicorn/http_server.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn/http_server.rb b/lib/unicorn/http_server.rb
index f0dca7c..0bb4359 100644
--- a/lib/unicorn/http_server.rb
+++ b/lib/unicorn/http_server.rb
@@ -500,7 +500,7 @@ class Unicorn::HttpServer
     msg = case e
     when EOFError,Errno::ECONNRESET,Errno::EPIPE,Errno::EINVAL,Errno::EBADF
       Unicorn::Const::ERROR_500_RESPONSE
-    when HttpParserError # try to tell the client they're bad
+    when Unicorn::HttpParserError # try to tell the client they're bad
       Unicorn::Const::ERROR_400_RESPONSE
     else
       logger.error "Read error: #{e.inspect}"