about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/unicorn/const.rb2
-rw-r--r--lib/unicorn/http_request.rb1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/unicorn/const.rb b/lib/unicorn/const.rb
index f3dabec..4e78171 100644
--- a/lib/unicorn/const.rb
+++ b/lib/unicorn/const.rb
@@ -61,7 +61,7 @@ module Unicorn
     REQUEST_URI='REQUEST_URI'.freeze
     REQUEST_PATH='REQUEST_PATH'.freeze
     
-    UNICORN_VERSION="0.2.2".freeze
+    UNICORN_VERSION="0.2.3".freeze
 
     UNICORN_TMP_BASE="unicorn".freeze
 
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