about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-03-25 16:25:45 -0700
committerEric Wong <normalperson@yhbt.net>2009-03-25 16:28:02 -0700
commit9ccced22c38c30e776edc5c2513194623b42a7a9 (patch)
tree6f0c526e3681c8e10520d57fab57f82c2d06584a /lib
parenta87866f83c0185757b2f85aeab17e2a9553b6ae1 (diff)
downloadunicorn-9ccced22c38c30e776edc5c2513194623b42a7a9.tar.gz
Otherwise we bloat TMPDIR and run the host out of space, oops!
Diffstat (limited to 'lib')
-rw-r--r--lib/unicorn/http_request.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/unicorn/http_request.rb b/lib/unicorn/http_request.rb
index 411c56c..ee407ab 100644
--- a/lib/unicorn/http_request.rb
+++ b/lib/unicorn/http_request.rb
@@ -25,6 +25,7 @@ module Unicorn
       @parser.reset
       @params.clear
       @body.close rescue nil
+      @body.close! rescue nil
       @body = nil
     end