From e782ce4c82a6e6eb6c5fe9f66471a0fa33e1f9e8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 15 Nov 2009 14:11:39 -0800 Subject: tee_input: client_error always raises We do not hide unforseen exceptions, as that could cause us to waste precious time attempting to continue processing after errors. --- lib/unicorn/tee_input.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/unicorn/tee_input.rb b/lib/unicorn/tee_input.rb index 18ce44b..0669b48 100644 --- a/lib/unicorn/tee_input.rb +++ b/lib/unicorn/tee_input.rb @@ -134,8 +134,8 @@ module Unicorn raise ClientShutdown, "bytes_read=#{@tmp.size}", [] when HttpParserError e.set_backtrace([]) - raise e end + raise e end # tees off a +length+ chunk of data from the input into the IO -- cgit v1.2.3-24-ge0c7