diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/unicorn.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb index dd02761..467245d 100644 --- a/lib/unicorn.rb +++ b/lib/unicorn.rb @@ -21,8 +21,7 @@ module Unicorn # since there is nothing in the application stack that is responsible # for client shutdowns/disconnects. This exception is visible to Rack # applications unless PrereadInput middleware is loaded. - class ClientShutdown < EOFError - end + ClientShutdown = Class.new(EOFError) # :stopdoc: |