about summary refs log tree commit homepage
path: root/lib/unicorn/http_request.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-03-25 16:32:58 -0700
committerEric Wong <normalperson@yhbt.net>2009-03-25 16:32:58 -0700
commit63209531722311896ac448d9170adb0766fa3eff (patch)
treefd8aa66b87ac9e14de855562f9998887032a5420 /lib/unicorn/http_request.rb
parent1bf10b3a73509f3fc72fb7f267e767c0e2fa9376 (diff)
parent9c338507225446cb5c477a91c5e5da0bfe305949 (diff)
downloadunicorn-63209531722311896ac448d9170adb0766fa3eff.tar.gz
* commit 'v0.2.3':
  unicorn 0.2.3
  Ensure Tempfiles are unlinked after every request
  Don't bother unlinking UNIX sockets

Conflicts:
	lib/unicorn/socket.rb
Diffstat (limited to 'lib/unicorn/http_request.rb')
-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 04386fc..7106f62 100644
--- a/lib/unicorn/http_request.rb
+++ b/lib/unicorn/http_request.rb
@@ -39,6 +39,7 @@ module Unicorn
       @parser.reset
       @params.clear
       @body.close rescue nil
+      @body.close! rescue nil
       @body = nil
     end