diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-07-11 02:05:01 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-07-11 02:09:31 +0000 |
commit | ac15513bb81a345cd12c67702a81a585b8b0514e (patch) | |
tree | e2abb6608ccf39805a50dcf27d967d8b78f6c592 /lib/unicorn | |
parent | 0fea004ab093ec4f59d919915a505a136326bd8a (diff) | |
download | unicorn-ac15513bb81a345cd12c67702a81a585b8b0514e.tar.gz |
Noticed while hacking on a Zbatery-using application
Diffstat (limited to 'lib/unicorn')
-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 |