diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/unicorn/tee_input.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/unicorn/tee_input.rb b/lib/unicorn/tee_input.rb index a11420a..540cfe0 100644 --- a/lib/unicorn/tee_input.rb +++ b/lib/unicorn/tee_input.rb @@ -176,8 +176,8 @@ private # _entire_ request has been sent, and those will not have # raised EOFError on us. socket.close if socket - raise ClientShutdown, "bytes_read=#{tmp.size}", [] - when HttpParserError + raise Unicorn::ClientShutdown, "bytes_read=#{tmp.size}", [] + when Unicorn::HttpParserError e.set_backtrace([]) end raise e |