diff options
author | Russ Smith <russ@bashme.org> | 2009-03-11 12:50:24 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-03-11 12:50:24 -0500 |
commit | f2c7508befb085ffe19ec7fb9ca2e6919cc919c9 (patch) | |
tree | 838b029ea24d6d9320082a5b0045d915c10ba1a6 /actionpack/lib/action_controller/vendor/rack-1.0/rack/handler | |
parent | 106976df0911e423042ec4abc165fd561766a047 (diff) | |
download | rails-f2c7508befb085ffe19ec7fb9ca2e6919cc919c9.tar.gz rails-f2c7508befb085ffe19ec7fb9ca2e6919cc919c9.tar.bz2 rails-f2c7508befb085ffe19ec7fb9ca2e6919cc919c9.zip |
Update bundled Rack to fix Litespeed compatibility [#2198 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
Diffstat (limited to 'actionpack/lib/action_controller/vendor/rack-1.0/rack/handler')
-rw-r--r-- | actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/lsws.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/lsws.rb b/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/lsws.rb index 1f850fc77b..dfc79c204b 100644 --- a/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/lsws.rb +++ b/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/lsws.rb @@ -13,7 +13,7 @@ module Rack env.delete "HTTP_CONTENT_LENGTH" env["SCRIPT_NAME"] = "" if env["SCRIPT_NAME"] == "/" env.update({"rack.version" => [0,1], - "rack.input" => $stdin, + "rack.input" => StringIO.new($stdin.read.to_s), "rack.errors" => $stderr, "rack.multithread" => false, "rack.multiprocess" => true, |