diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-03-25 16:25:45 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-03-25 16:28:02 -0700 |
commit | 9ccced22c38c30e776edc5c2513194623b42a7a9 (patch) | |
tree | 6f0c526e3681c8e10520d57fab57f82c2d06584a /lib/unicorn/http_request.rb | |
parent | a87866f83c0185757b2f85aeab17e2a9553b6ae1 (diff) | |
download | unicorn-9ccced22c38c30e776edc5c2513194623b42a7a9.tar.gz |
Otherwise we bloat TMPDIR and run the host out of space, oops!
Diffstat (limited to 'lib/unicorn/http_request.rb')
-rw-r--r-- | lib/unicorn/http_request.rb | 1 |
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 |