From 390e351dd1283d4c80a12b744b1327fff091a141 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 17 Nov 2010 11:20:02 -0800 Subject: http_server: fix HttpParserError constant resolution "Unicorn" is no longer in the default constant resolution namespace. --- lib/unicorn/http_server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- cgit v1.2.3-24-ge0c7