diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-07-16 01:17:10 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-07-16 01:17:10 -0700 |
commit | 72764ceeaf537cce45d900187bf8643663fc530d (patch) | |
tree | 24686860b0723420212790504dd0a35ba0e06bb7 /lib/unicorn | |
parent | 2e913054b36848a05f7ba06c3accbe164c666708 (diff) | |
download | unicorn-72764ceeaf537cce45d900187bf8643663fc530d.tar.gz |
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.
Diffstat (limited to 'lib/unicorn')
-rw-r--r-- | lib/unicorn/http_request.rb | 2 |
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 TeeInput.new(socket, length, body) else - NULL_IO.closed? ? NULL_IO.reopen(Z) : NULL_IO + NULL_IO end PARAMS.update(DEFAULTS) |