From 34b916e3c237f32d5455869d2823eccb27e9ff24 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 30 May 2009 09:10:29 -0700 Subject: http_request: no need to reset the request That method no longer exists, but Ruby would never know until it tried to run it. Yes, I miss my compiled languages. --- lib/unicorn/http_request.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/unicorn/http_request.rb b/lib/unicorn/http_request.rb index d7078a3..115926b 100644 --- a/lib/unicorn/http_request.rb +++ b/lib/unicorn/http_request.rb @@ -146,7 +146,6 @@ module Unicorn # Any errors means we should delete the file, including if the file # is dumped. Truncate it ASAP to help avoid page flushes to disk. body.truncate(0) rescue nil - reset raise e end -- cgit v1.2.3-24-ge0c7