http_request: don't support apps that close env["rack.input"]
commit72764ceeaf537cce45d900187bf8643663fc530d
authorEric Wong <normalperson@yhbt.net>
Thu, 16 Jul 2009 08:17:10 +0000 (16 01:17 -0700)
committerEric Wong <normalperson@yhbt.net>
Thu, 16 Jul 2009 08:17:10 +0000 (16 01:17 -0700)
tree24686860b0723420212790504dd0a35ba0e06bb7
parent2e913054b36848a05f7ba06c3accbe164c666708
http_request: don't support apps that close env["rack.input"]

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.
lib/unicorn/http_request.rb