vendor/rack-1.0.0-git/lib/rack/handler/lsws.rb in passenger-2.2.2 vs vendor/rack-1.0.0-git/lib/rack/handler/lsws.rb in passenger-2.2.3
- old
+ new
@@ -13,10 +13,10 @@
app = Rack::ContentLength.new(app)
env = ENV.to_hash
env.delete "HTTP_CONTENT_LENGTH"
env["SCRIPT_NAME"] = "" if env["SCRIPT_NAME"] == "/"
- env.update({"rack.version" => [0,1],
+ env.update({"rack.version" => [1,0],
"rack.input" => StringIO.new($stdin.read.to_s),
"rack.errors" => $stderr,
"rack.multithread" => false,
"rack.multiprocess" => true,
"rack.run_once" => false,