summary refs log tree commit homepage
diff options
authorEric Wong <>2009-07-16 01:17:10 -0700
committerEric Wong <>2009-07-16 01:17:10 -0700
commit72764ceeaf537cce45d900187bf8643663fc530d (patch)
parent2e913054b36848a05f7ba06c3accbe164c666708 (diff)
Anything that calls close on a rack.input body is violating
Rack::Lint; so don't waste cycles supporting them.  Being
liberal in things we accept tolerates bad behavior and Unicorn
doesn't have a large userbase that would scream bloody murder if
we stopped supporting broken behavior.
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn/http_request.rb b/lib/unicorn/http_request.rb
index f4cc77c..a9e9d23 100644
--- a/lib/unicorn/http_request.rb
+++ b/lib/unicorn/http_request.rb
@@ -90,7 +90,7 @@ module Unicorn
 , length, body)
-        NULL_IO.closed? ? NULL_IO.reopen(Z) : NULL_IO
+        NULL_IO