about summary refs log tree commit homepage
path: root/lib/unicorn.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-05-04 06:08:36 +0000
committerEric Wong <normalperson@yhbt.net>2009-05-04 06:08:36 +0000
commit17dc99cc5c3a3fc59145724059f36c5c907f6c3f (patch)
treec2b96cb928fd784e6064bfafa90f18e9da9f9279 /lib/unicorn.rb
parentdf27bb444e04cdd36d74010290e9270f129eeb3c (diff)
downloadunicorn-17dc99cc5c3a3fc59145724059f36c5c907f6c3f.tar.gz
These potentially leaves an open file handle around until the
next request hits the process, but this makes the common case
faster.
Diffstat (limited to 'lib/unicorn.rb')
-rw-r--r--lib/unicorn.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb
index 0b8ac5e..bcd0a91 100644
--- a/lib/unicorn.rb
+++ b/lib/unicorn.rb
@@ -430,8 +430,6 @@ module Unicorn
       client.close rescue nil
       logger.error "Read error: #{e.inspect}"
       logger.error e.backtrace.join("\n")
-    ensure
-      @request.reset
     end
 
     # gets rid of stuff the worker has no business keeping track of